Struct rose_tree::WalkSiblings [] [src]

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

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

Methods

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

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

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