Struct std::trie::TrieMapIterator

pub struct TrieMapIterator<'self, T> {
    priv stack: ~[VecIterator<'self, Child<T>>],
    priv remaining_min: uint,
    priv remaining_max: uint,
}

Forward iterator over a map

Trait Implementations

impl<'self, T> Iterator<(uint, &'self T)> for TrieMapIterator<'self, T>

fn next(&mut self) -> Option<(uint, &'self T)>

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

fn size_hint(&self) -> (uint, Option<uint>)

Return a lower bound and upper bound on the remaining length of the iterator.

The common use case for the estimate is pre-allocating space to store the results.