[][src]Struct ordered_multimap::list_ordered_multimap::KeyValuesDrain

pub struct KeyValuesDrain<'map, Key, Value, State = RandomState> where
    Key: Eq + Hash,
    State: BuildHasher
{ /* fields omitted */ }

An iterator that drains the multimap of all keys and their value drain iterators. The order of the yielded items is always in the order the keys were first inserted.

Methods

impl<'_, Key, Value, State> KeyValuesDrain<'_, Key, Value, State> where
    Key: Eq + Hash,
    State: BuildHasher
[src]

Important traits for KeyValues<'map, Key, Value, State>
pub fn iter(&self) -> KeyValues<Key, Value, State>[src]

Creates an iterator that yields immutable references to all keys and their value iterators.

Trait Implementations

impl<'_, Key, Value, State> Debug for KeyValuesDrain<'_, Key, Value, State> where
    Key: Debug + Eq + Hash,
    State: BuildHasher,
    Value: Debug
[src]

impl<'_, Key, Value, State> DoubleEndedIterator for KeyValuesDrain<'_, Key, Value, State> where
    Key: Eq + Hash,
    State: BuildHasher
[src]

impl<'_, Key, Value, State> Drop for KeyValuesDrain<'_, Key, Value, State> where
    Key: Eq + Hash,
    State: BuildHasher
[src]

impl<'_, Key, Value, State> ExactSizeIterator for KeyValuesDrain<'_, Key, Value, State> where
    Key: Eq + Hash,
    State: BuildHasher
[src]

impl<'_, Key, Value, State> FusedIterator for KeyValuesDrain<'_, Key, Value, State> where
    Key: Eq + Hash,
    State: BuildHasher
[src]

impl<'map, Key, Value, State> Iterator for KeyValuesDrain<'map, Key, Value, State> where
    Key: Eq + Hash,
    State: BuildHasher
[src]

type Item = (Key, KeyValuesEntryDrain<'map, Key, Value>)

The type of the elements being iterated over.

impl<'_, Key, Value, State> Send for KeyValuesDrain<'_, Key, Value, State> where
    Key: Eq + Hash + Send,
    State: BuildHasher,
    Value: Send
[src]

impl<'_, Key, Value, State> Sync for KeyValuesDrain<'_, Key, Value, State> where
    Key: Eq + Hash + Sync,
    State: BuildHasher,
    Value: Sync
[src]

Auto Trait Implementations

impl<'map, Key, Value, State> RefUnwindSafe for KeyValuesDrain<'map, Key, Value, State> where
    Key: RefUnwindSafe,
    State: RefUnwindSafe,
    Value: RefUnwindSafe

impl<'map, Key, Value, State> Unpin for KeyValuesDrain<'map, Key, Value, State>

impl<'map, Key, Value, State = RandomState> !UnwindSafe for KeyValuesDrain<'map, Key, Value, State>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,