pub struct BufferSlice { /* private fields */ }
Expand description
A sub-slice of a Buffer
Implementations§
Source§impl BufferSlice
impl BufferSlice
Sourcepub fn get(&self) -> BufferSlice<'_>
pub fn get(&self) -> BufferSlice<'_>
Get the underlying wgpu Buffer. You’ll need this to map the contents of the buffer
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferSlice
impl !RefUnwindSafe for BufferSlice
impl Send for BufferSlice
impl Sync for BufferSlice
impl Unpin for BufferSlice
impl !UnwindSafe for BufferSlice
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more