Struct typedmap::dashmap::Iter[][src]

pub struct Iter<'a, Marker, S>(_, _);

An iterator over the entries of a TypedDashMap

This struct is created by ‘iter’ method on TypedDashMap. See its documentation for more.

Example

use typedmap::TypedDashMap;
use typedmap::TypedMapKey;

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

impl TypedMapKey for Key {
    type Value = u32;
}

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

Trait Implementations

impl<'a, Marker, S: BuildHasher + Clone> Iterator for Iter<'a, Marker, S>[src]

type Item = TypedKeyValueGuard<'a, Marker, S>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, Marker, S> !RefUnwindSafe for Iter<'a, Marker, S>

impl<'a, Marker, S> Send for Iter<'a, Marker, S> where
    Marker: Send,
    S: BuildHasher + Clone

impl<'a, Marker, S> Sync for Iter<'a, Marker, S> where
    Marker: Sync,
    S: BuildHasher + Clone

impl<'a, Marker, S> Unpin for Iter<'a, Marker, S> where
    Marker: Unpin

impl<'a, Marker, S> !UnwindSafe for Iter<'a, Marker, S>

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.