Expand description

Crate for creating and traversing recursively annotated structures. It has three parts:

  • Compound, a trait for a generic way to implement tree structures.
  • Branch and BranchMut, types for representing branches in tree-formed data as well as methods for searching.
  • Walker, a trait for a generic way of walking Compounds.

Structs

Represents an immutable branch view into a collection.
Represents a branch view into a collection.
The argument given to a Walker to traverse through nodes.

Enums

The response of the child method on a Compound node.
The response of the child_mut method on a Compound node.
The return value from a closure to walk the tree.

Traits

A type that can recursively contain itself and leaves.
Trait that provides a first and first_mut method to any Compound.
Marker trait to signal that a data structure can allow mutable access to its leaves.
The trait used to construct a Branch or to iterate through a tree.