Struct common_tree::Node[][src]

pub struct Node<T> { /* fields omitted */ }
Expand description

A tree node

Implementations

Create a Node

Add a node to self

Get mut data

Get data

Get child by index

Get last child

Get mut child by index

Get last mut child

Get children

Get mut children

Get child by a vec path path: [0, 1, 3]

Get mut child by a vec path path: [0, 1, 3]

Deepth first traversal (Preorder) of a tree

Breadth first traversal (Level Order) of a tree

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.