Struct tui_realm_treeview::Tree[][src]

pub struct Tree { /* fields omitted */ }
Expand description

Tree

represent the tree data structure inside the component

Implementations

new

Instantiates a new Tree

root

Returns a reference to the root node

query

Query tree for a certain node

node_by_route

Get starting from root the node associated to the indexes. When starting from tree, the first element in route must be 0

Trait Implementations

Formats the value using the given formatter. Read more

PropPayload to TuiTree

The PropPayload is a series of Linked where item is a Tuple made up of (id, label, parent) and next element is the following element in root

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.