Struct typedmap::hashmap::IntoIter[][src]

pub struct IntoIter<Marker>(_, _);

An owning iterator over the entries of a TypedMap.

This struct is created by the into_iter method on TypedMap (provided by the IntoIterator trait). See its documentation for more.

Example

use typedmap::TypedMap;
use typedmap::TypedMapKey;

#[derive(Hash, PartialEq, Eq, Debug)]
struct Key(usize);

impl TypedMapKey for Key {
    type Value = u32;
}

let mut map: TypedMap = TypedMap::new();
map.insert(Key(3), 3);

Trait Implementations

impl<Marker> ExactSizeIterator for IntoIter<Marker>[src]

impl<Marker> FusedIterator for IntoIter<Marker>[src]

impl<Marker> Iterator for IntoIter<Marker>[src]

type Item = TypedKeyValue<Marker>

The type of the elements being iterated over.

Auto Trait Implementations

impl<Marker> !RefUnwindSafe for IntoIter<Marker>

impl<Marker> !Send for IntoIter<Marker>

impl<Marker> !Sync for IntoIter<Marker>

impl<Marker> !Unpin for IntoIter<Marker>

impl<Marker> !UnwindSafe for IntoIter<Marker>

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