Struct Drain
pub struct Drain<'data, T: Send> { /* private fields */ }
Draining parallel iterator that moves a range out of a vector, but keeps the total capacity.
Trait Implementations
impl<'data, T: Debug + Send> Debug for Drain<'data, T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'data, T: Send> Drop for Drain<'data, T>
fn drop(&mut self)
impl<'data, T: Send> IndexedParallelIterator for Drain<'data, T>
fn drive<C>(self, consumer: C) -> C::Result where C: Consumer<Self::Item>,fn len(&self) -> usizefn with_producer<CB>(self, callback: CB) -> CB::Output where CB: ProducerCallback<Self::Item>,
impl<'data, T: Send> ParallelIterator for Drain<'data, T>
type Item = T;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,fn opt_len(&self) -> Option<usize>