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
Walker
to traverse through nodes.
Enums§
- Child
- The response of the
child
method on aCompound
node. - Child
Mut - The response of the
child_mut
method on aCompound
node. - Step
- The return value from a closure to
walk
the tree.
Traits§
- Compound
- A type that can recursively contain itself and leaves.
- First
- Trait that provides a
first
andfirst_mut
method 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
Branch
or to iterate through a tree.