pub struct FrameStoreMut<'a>(/* private fields */);Expand description
append-only mutable access to a FrameStore
Implementations§
Source§impl<'a> FrameStoreMut<'a>
impl<'a> FrameStoreMut<'a>
Sourcepub fn slice<T: Copy + 'static>(
self,
capacity: usize,
) -> FrameSliceBuilder<'a, T>
pub fn slice<T: Copy + 'static>( self, capacity: usize, ) -> FrameSliceBuilder<'a, T>
reserves uninitialized drawing inputs until this storage is cleared
Sourcepub fn slice_from<T: Copy + 'static>(&mut self, values: &[T]) -> FrameSlice<T>
pub fn slice_from<T: Copy + 'static>(&mut self, values: &[T]) -> FrameSlice<T>
copies values into storage until this storage is cleared
Methods from Deref<Target = FrameStore>§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FrameStoreMut<'a>
impl<'a> !Send for FrameStoreMut<'a>
impl<'a> !Sync for FrameStoreMut<'a>
impl<'a> !UnwindSafe for FrameStoreMut<'a>
impl<'a> Forget for FrameStoreMut<'a>
impl<'a> Freeze for FrameStoreMut<'a>where
&'a mut FrameStore: Freeze,
impl<'a> Move for FrameStoreMut<'a>
impl<'a> Unpin for FrameStoreMut<'a>where
&'a mut FrameStore: Unpin,
impl<'a> UnsafeUnpin for FrameStoreMut<'a>where
&'a mut FrameStore: UnsafeUnpin,
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