pub struct Write<'a, T> { /* private fields */ }
Expand description
A handle to a SyncPushVec with write access.
Implementations§
Trait Implementations§
Source§impl<T: Clone + Send> Extend<T> for Write<'_, T>
impl<T: Clone + Send> Extend<T> for Write<'_, T>
Source§fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: T)
fn extend_one(&mut self, item: T)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations§
impl<'a, T> Freeze for Write<'a, T>
impl<'a, T> !RefUnwindSafe for Write<'a, T>
impl<'a, T> Send for Write<'a, T>where
T: Sync,
impl<'a, T> Sync for Write<'a, T>where
T: Sync,
impl<'a, T> Unpin for Write<'a, T>
impl<'a, T> !UnwindSafe for Write<'a, T>
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