Struct dashmap::iter::Iter[][src]

pub struct Iter<'a, K, V, S = RandomState, M = DashMap<K, V, S>> { /* fields omitted */ }

Iterator over a DashMap yielding immutable references.

Examples

use dashmap::DashMap;

let map = DashMap::new();
map.insert("hello", "world");
assert_eq!(map.iter().count(), 1);

Trait Implementations

impl<'a, K: Eq + Hash, V, S: 'a + BuildHasher + Clone, M: Map<'a, K, V, S>> Iterator for Iter<'a, K, V, S, M>[src]

type Item = RefMulti<'a, K, V, S>

The type of the elements being iterated over.

impl<'a, 'i, K, V, S, M> Send for Iter<'i, K, V, S, M> where
    K: 'a + Eq + Hash + Send,
    V: 'a + Send,
    S: 'a + BuildHasher + Clone,
    M: Map<'a, K, V, S>, 
[src]

impl<'a, 'i, K, V, S, M> Sync for Iter<'i, K, V, S, M> where
    K: 'a + Eq + Hash + Sync,
    V: 'a + Sync,
    S: 'a + BuildHasher + Clone,
    M: Map<'a, K, V, S>, 
[src]

Auto Trait Implementations

impl<'a, K, V, S = RandomState, M = DashMap<K, V, S>> !RefUnwindSafe for Iter<'a, K, V, S, M>

impl<'a, K, V, S, M> Unpin for Iter<'a, K, V, S, M>

impl<'a, K, V, S = RandomState, M = DashMap<K, V, S>> !UnwindSafe for Iter<'a, K, V, S, M>

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> Pointable for T[src]

type Init = T

The type for initializers.

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.