[−][src]Trait web_glitz::buffer::BufferViewMutSliceIndex
A helper trait type for indexing operations on a BufferViewMut that contains a slice.
Provided methods
fn get_mut<'a>(
self,
view: &'a mut BufferViewMut<[T]>
) -> Option<BufferViewMut<'a, Self::Output>>
self,
view: &'a mut BufferViewMut<[T]>
) -> Option<BufferViewMut<'a, Self::Output>>
Returns a mutable view on the output for this operation if in bounds, or None
otherwise.
unsafe fn get_unchecked_mut<'a>(
self,
view: &'a mut BufferViewMut<[T]>
) -> BufferViewMut<'a, Self::Output>
self,
view: &'a mut BufferViewMut<[T]>
) -> BufferViewMut<'a, Self::Output>
Returns a mutable view the output for this operation, without performing any bounds checking.