pub fn write_index_unchecked<T>(&mut self, index: u64, data: &[T])
    where
        T: bytemuck::Pod,
    {
        let offset = index * std::mem::size_of::<T>() as u64;
        self.write_at_unchecked(offset, data);
    }
/// Convenince function for writing at an index of the buffer
/// (multiple of the data size)
Convenince function for writing at an index of the buffer
(multiple of the data size)
Convenince function for writing at an index of the buffer ( multiple of the data size )
pub fn write_index_unchecked<T>(&mut self, index: u64, data: &[T])
    where
        T: bytemuck::Pod,
    {
        let offset = index * std::mem::size_of::<T>() as u64;
        self.write_at_unchecked(offset, data);
    }
pub fn write_index_unchecked < T > ( & mut self , index : u64 , data : & [ T ] ) where T : bytemuck :: Pod , { let offset = index * std :: mem :: size_of :: < T > ( ) as u64 ; self . write_at_unchecked ( offset , data ) ; }
Convenince function for writing at an index of the buffer
(multiple of the data size)
Convenince function for writing at an index of the buffer ( multiple of the data size )
&mut self
index
u64
data
&[T]
&mut self
index
u64
data
&[T]