Trait bevy_render::render_resource::encase::internal::BufferRef
source · pub trait BufferRef {
// Required methods
fn len(&self) -> usize;
fn read<const N: usize>(&self, offset: usize) -> &[u8; N];
fn read_slice(&self, offset: usize, val: &mut [u8]);
}
Required Methods§
fn len(&self) -> usize
fn read<const N: usize>(&self, offset: usize) -> &[u8; N]
fn read_slice(&self, offset: usize, val: &mut [u8])
Object Safety§
This trait is not object safe.