Struct compt::LevelIter [] [src]

pub struct LevelIter<T: CTreeIterator> { /* fields omitted */ }

A wrapper iterator that will additionally return the depth of each element.

Methods

impl<T: CTreeIterator> LevelIter<T>
[src]

[src]

Trait Implementations

impl<T: CTreeIterator> CTreeIterator for LevelIter<T>
[src]

[src]

Consume this visitor, and produce the element it was pointing to along with it's children visitors. Read more

[src]

Combine two tree visitors.

[src]

Calls the closure in dfs preorder (left,right,root).

[src]

Calls the closure in dfs postorder (right,left,root).