Struct compt::DownT
[−]
[src]
pub struct DownT<'a, T: 'a> { /* fields omitted */ }
Tree visitor that returns a reference to each element in the tree.
Trait Implementations
impl<'a, T: 'a> CTreeIterator for DownT<'a, T>
[src]
type Item = &'a T
fn next(self) -> (Self::Item, Option<(Self, Self)>)
[src]
Consume this visitor, and produce the element it was pointing to along with it's children visitors. Read more
fn zip<F: CTreeIterator>(self, f: F) -> ZippedDownTMut<Self, F>
[src]
Combine two tree visitors.
fn dfs_preorder<F: FnMut(Self::Item)>(self, func: F)
[src]
Calls the closure in dfs preorder (left,right,root).
fn dfs_postorder<F: FnMut(Self::Item)>(self, func: F)
[src]
Calls the closure in dfs postorder (right,left,root).