Struct std::hashmap::HashSetIterator

pub struct HashSetIterator<'self, K> {
    priv iter: VecIterator<'self, Option<Bucket<K, ()>>>,
}

HashSet iterator

Trait Implementations

impl<'self, K: Clone> Clone for HashSetIterator<'self, K>

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

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> Iterator<&'self K> for HashSetIterator<'self, K>

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

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