Crate nb_tree

Source
Expand description

§Node & Branch Tree

This library provides tools to represent tree data with data associated to nodes and branches. The trees are stored in a simple dynamic array (Vec) data structure.

The main data structures are Tree and Path to build data trees and path to tree nodes. The goal of this crate is to provide simple yet flexible structures that allow for custom node and branch types, tree building, diffing and patching.

For more information about Trees and their usage, see the module level documentation.

§What it is

A data structure to store and manipulate tree like data.

§Properties

The structure is an arborescence: it is directed, with nodes linking to their children.

Modules§

path
Structures to describe a position in a Tree.
prelude
The nb_tree Prelude.
tree
Structures to build and manipulate Trees.

Macros§

path
Build a Path from a list of expressions.