Expand description
Crate for creating and traversing recursively annotated structures. It has three parts:
Structs§
- Branch
- Represents an immutable branch view into a collection.
- Branch
Mut - Represents a branch view into a collection.
- Walk
- The argument given to a
Walkerto traverse through nodes.
Enums§
- Child
- The response of the
childmethod on aCompoundnode. - Child
Mut - The response of the
child_mutmethod on aCompoundnode. - Step
- The return value from a closure to
walkthe tree.
Traits§
- Compound
- A type that can recursively contain itself and leaves.
- First
- Trait that provides a
firstandfirst_mutmethod to anyCompound. - Mutable
Leaves - Marker trait to signal that a data structure can allow mutable access to its leaves.
- Walker
- The trait used to construct a
Branchor to iterate through a tree.