Trait pasture_core::containers::SliceBufferMut

source ·
pub trait SliceBufferMut<'a>: SliceBuffer<'a>
where Self: 'a,
{ type SliceTypeMut: BorrowedMutBuffer<'a>; // Required method fn slice_mut(&'a mut self, range: Range<usize>) -> Self::SliceTypeMut; }
Expand description

Trait for buffers that support mutable slicing

Required Associated Types§

Required Methods§

source

fn slice_mut(&'a mut self, range: Range<usize>) -> Self::SliceTypeMut

Take a mutable slice to this buffer using the given range of points

§Panics

May panic if range is out of bounds

Implementors§