Struct std::hashmap::HashMapIterator

pub struct HashMapIterator<'self, K, V> {
    priv iter: VecIterator<'self, Option<Bucket<K, V>>>,
}

HashMap iterator

Trait Implementations

impl<'self, K: Clone, V: Clone> Clone for HashMapIterator<'self, K, V>

fn clone(&self) -> HashMapIterator<'self, K, V>

Returns a copy of the value. The contents of owned pointers are copied to maintain uniqueness, while the contents of managed pointers are not copied.

impl<'self, K, V> Iterator<(&'self K, &'self V)> for HashMapIterator<'self, K, V>

fn next(&mut self) -> Option<(&'self K, &'self V)>

Advance the iterator and return the next value. Return None when the end is reached.