Module tree

Source
Expand description

Tree traversal

Modules§

breadthfirst
depthfirst
recorder
visit

Structs§

Recorder
A Visit implementation to record every observed change and keep track of the changed paths.

Traits§

Visit
A trait to allow responding to a traversal designed to observe all entries in a tree, recursively while keeping track of paths if desired.

Functions§

breadthfirst
Start a breadth-first iteration over the root trees entries.
depthfirst
A depth-first traversal of the root tree, that preserves the natural order of a tree while immediately descending into sub-trees.