Module iter

Source
Expand description

Module defining iterators.

Structs§

AncestorsIterPtr
Ancestors iterators which starts from a node and yields nodes bottom-up until the root of the tree is reached.
ChildrenMutIter
Mutable children iterator.
CustomWalkIterPtr
An iterator which can traverse the tree arbitrarily in any direction where the walk direction is determined by a custom next_node closure with signature Fn(Node) -> Option(Node).