Expand description
Types associated to nodes and in particular node walking.
Structs§
- An iterator that iterates over the
Node::parent
elements of a node. This is used for iterating over the ancestors of a node. - An iterator that iterates over the
Node::next
elements of a node. This is typically used for iterating over the children of a tree. - An iterator that iterates over the
Node::next
elements of a node. This is typically used for iterating over the children of a tree. - Wrapped around an iterator that excludes nodes without children.
- An iterator that walks over the entire tree, visiting every node exactly once.
- A low-level iterator which walks the tree while emitting Event instances indicating how the structure is being navigated.
- An iterator that walks over the entire tree, visiting every node exactly once. This is constructed with
Walk::with_depths
.
Enums§
- An event indicating how a tree is being walked with
WalkEvents
.