Struct Drain
pub struct Drain<'a, K, V> { /* private fields */ }
Draining parallel iterator that moves out of a hash map, but keeps the total capacity.
Trait Implementations
impl<'a, K: Debug, V: Debug> Debug for Drain<'a, K, V>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<K: Send, V: Send> ParallelIterator for Drain<'_, K, V>
type Item = (K, V);fn drive_unindexed<C>(self, consumer: C) -> C::Result where C: UnindexedConsumer<Self::Item>,fn opt_len(&self) -> Option<usize>