Module broccoli::node

source ·
Expand description

broccoli tree Node and Node visitor structs

Structs

  • The node of a broccoli tree.
  • Like Node except only has the number of elem instead of a slice..
  • Tree Iterator that returns a protected mutable reference to each node.

Type Definitions

  • When we traverse the tree in read-only mode, we can simply return a reference to each node. We don’t need to protect the user from only mutating parts of the BBox’s since they can’t change anything.