Struct rose_tree::WalkChildren [] [src]

pub struct WalkChildren<Ix: IndexType> {
    // some fields omitted
}

A "walker" object that can be used to step through the children of some parent node.

Methods

impl<Ix> WalkChildren<Ix> where Ix: IndexType
[src]

fn next<N>(&mut self, tree: &RoseTree<N, Ix>) -> Option<NodeIndex<Ix>>

Fetch the next child index in the walk for the given RoseTree.