Expand description
Tree traversal iterators over node indices, node values or both at the same time. In order for
a tree data structure to support these iterators, the Traversable
trait must be implemented.
Provided traversals are:
Structs§
- Binary
InOrder - Iterator over node contents and the corresponding node indices in binary in-order
- Binary
InOrder Indices - Iterator over node indices in binary in-order
- Binary
InOrder Values - Iterator over node contents in binary in-order
- Binary
Post Order - Iterator over node contents and the corresponding node indices in binary post-order
- Binary
Post Order Indices - Iterator over node indices in binary post-order
- Binary
Post Order Values - Iterator over node contents in binary post-order
- Binary
PreOrder - Iterator over node contents and the corresponding node indices in binary pre-order
- Binary
PreOrder Indices - Iterator over node indices in binary pre-order
- Binary
PreOrder Values - Iterator over node contents in binary pre-order
- General
Bfs - Iterator over node contents and the corresponding node indices in breadth-first search order
- General
BfsIndices - Iterator over node indices in breadth-first search order
- General
BfsValues - Iterator over node contents in breadth-first search order
- General
Dfs - Iterator over node contents and the corresponding node indices in depth-first search order
- General
DfsIndices - Iterator over node indices in depth-first search order
- General
DfsValues - Iterator over node contents in depth-first search order
Traits§
- Traversable
- This trait defines the interface for using the traversal iterators provided by this module.