Struct compt::ZippedDownTMut
[−]
[src]
pub struct ZippedDownTMut<T1: CTreeIterator, T2: CTreeIterator> { /* fields omitted */ }
Tree visitor that zips up two seperate visitors. If one of the iterators returns None for its children, this iterator will return None.
Trait Implementations
impl<T1: CTreeIterator, T2: CTreeIterator> CTreeIterator for ZippedDownTMut<T1, T2>
[src]
type Item = (T1::Item, T2::Item)
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).