[][src]Struct ordered_multimap::list_ordered_multimap::IntoIter

pub struct IntoIter<Key, Value> { /* fields omitted */ }

An iterator that owns and yields all key-value pairs in a multimap by cloning the keys for their possibly multiple values. This is unnecessarily expensive whenever Iter or IterMut would suit as well. The order of the yielded items is always in the order that they were inserted.

Implementations

impl<Key, Value> IntoIter<Key, Value>[src]

pub fn iter(&self) -> Iter<'_, Key, Value>

Notable traits for Iter<'map, Key, Value>

impl<'map, Key, Value> Iterator for Iter<'map, Key, Value> type Item = (&'map Key, &'map Value);
[src]

Creates an iterator that yields immutable references to all key-value pairs in a multimap.

Trait Implementations

impl<Key, Value> Debug for IntoIter<Key, Value> where
    Key: Debug,
    Value: Debug
[src]

impl<Key, Value> DoubleEndedIterator for IntoIter<Key, Value> where
    Key: Clone
[src]

impl<Key, Value> ExactSizeIterator for IntoIter<Key, Value> where
    Key: Clone
[src]

impl<Key, Value> FusedIterator for IntoIter<Key, Value> where
    Key: Clone
[src]

impl<Key, Value> Iterator for IntoIter<Key, Value> where
    Key: Clone
[src]

type Item = (Key, Value)

The type of the elements being iterated over.

Auto Trait Implementations

impl<Key, Value> RefUnwindSafe for IntoIter<Key, Value> where
    Key: RefUnwindSafe,
    Value: RefUnwindSafe

impl<Key, Value> Send for IntoIter<Key, Value> where
    Key: Send,
    Value: Send

impl<Key, Value> Sync for IntoIter<Key, Value> where
    Key: Sync,
    Value: Sync

impl<Key, Value> Unpin for IntoIter<Key, Value> where
    Key: Unpin,
    Value: Unpin

impl<Key, Value> UnwindSafe for IntoIter<Key, Value> where
    Key: UnwindSafe,
    Value: UnwindSafe

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>,