pub struct CollectedVec<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T> Accumulator<T, CollectedVec<T>> for CollectVecAccumulator<T>
impl<T> Accumulator<T, CollectedVec<T>> for CollectVecAccumulator<T>
type Retraction = usize
fn accumulate(&mut self, value: T) -> Self::Retraction
fn retract(&mut self, retraction: Self::Retraction)
fn with_result<R>(&self, f: impl FnOnce(&CollectedVec<T>) -> R) -> R
fn reset(&mut self)
Source§impl<T: Debug> Debug for CollectedVec<T>
impl<T: Debug> Debug for CollectedVec<T>
Source§impl<'a, T> IntoIterator for &'a CollectedVec<T>
impl<'a, T> IntoIterator for &'a CollectedVec<T>
Auto Trait Implementations§
impl<T> Freeze for CollectedVec<T>
impl<T> RefUnwindSafe for CollectedVec<T>where
T: RefUnwindSafe,
impl<T> Send for CollectedVec<T>where
T: Send,
impl<T> Sync for CollectedVec<T>where
T: Sync,
impl<T> Unpin for CollectedVec<T>where
T: Unpin,
impl<T> UnsafeUnpin for CollectedVec<T>
impl<T> UnwindSafe for CollectedVec<T>where
T: UnwindSafe,
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