pub fn write_unchecked<T>(&self, data: &[T])
    where
        T: bytemuck::Pod,
    {
        let data = bytemuck::cast_slice(data);
        self.write_impl(0, data);
    }
// Writes the data to the buffer
// Will panic if the data is larger than the current buffer size
Writes the data to the buffer
Will panic if the data is larger than the current buffer size
Writes the data to the buffer Will panic if the data is larger than the current buffer size
pub fn write_unchecked<T>(&self, data: &[T])
    where
        T: bytemuck::Pod,
    {
        let data = bytemuck::cast_slice(data);
        self.write_impl(0, data);
    }
pub fn write_unchecked < T > ( & self , data : & [ T ] ) where T : bytemuck :: Pod , { let data = bytemuck :: cast_slice ( data ) ; self . write_impl ( 0 , data ) ; }
Writes the data to the buffer
Will panic if the data is larger than the current buffer size
Writes the data to the buffer Will panic if the data is larger than the current buffer size
&self
data
&[T]
&self
data
&[T]