Struct tui_realm_treeview::Tree [−][src]
pub struct Tree { /* fields omitted */ }
Expand description
Tree
represent the tree data structure inside the component
Implementations
query_mut
Query tree for a certain node and return it as a mutable reference
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
route_by_node
Calculate the route of a node by its id
Trait Implementations
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
impl RefUnwindSafe for Tree
impl UnwindSafe for Tree