Struct tui_realm_treeview::TreeView [−][src]
pub struct TreeView<'a> { /* fields omitted */ }
Expand description
TreeView
Tree view tui-realm component
Implementations
Trait Implementations
render
Based on the current properties and states, renders a widget using the provided render engine in the provided Area If focused, cursor is also set (if supported by widget)
update
Update component properties
Properties should first be retrieved through get_props
which creates a builder from
existing properties and then edited before calling update.
Returns a Msg to the view
on
Handle input event and update internal states. Returns a Msg to the view.
get_state
Get current state from component
For this component Payload::One(Value::Str(node_id))
if a node is selected,
None otherwise
Auto Trait Implementations
impl<'a> RefUnwindSafe for TreeView<'a>
impl<'a> UnwindSafe for TreeView<'a>