nb-tree 0.2.0-alpha01

Very simple tree structure with generic node and branch data.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, PartialEq)]
pub enum WidthFirstTraversalNode<N, B> {
    Root(N),
    Node {
        /// Move to the next parent
        next: bool,
        /// The branch leading from the parent to the described node
        branch: B,
        /// Node data
        data: N,
    },
}