Struct Drain
pub struct Drain<'a, T> { /* private fields */ }
Draining parallel iterator that moves out of a binary heap, but keeps the total capacity.
Trait Implementations
impl<'a, T: Debug> Debug for Drain<'a, T>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<T> Drop for Drain<'_, T>
fn drop(&mut self)
impl<T: Ord + Send> IndexedParallelIterator for Drain<'_, 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<T: Ord + Send> ParallelIterator for Drain<'_, T>
type Item = T;fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,fn opt_len(&self) -> Option<usize>