Module tree

Module tree 

Source
Expand description

Generic tree structure for DOM, render tree, or other hierarchical data.

§Overview

  • TreeNode<T> stores a node value, parent, and children.
  • Tree<T> stores a root node and provides traversal, mapping, and searching utilities.

Structs§

Tree
Represents a tree with a single root node
TreeNode
A single tree node

Type Aliases§

NodeRef
Alias for a reference-counted tree node