pub trait TreeNode: Inspectable {
fn inspect_child(&mut self, this_id: u64, search_id: u64, ui: &mut Ui);
fn node_ui(
&mut self,
name: &str,
id: u64,
selected: &mut Option<u64>,
ui: &mut Ui
) { ... }
fn contents_ui(&mut self, _id: u64, _selected: &mut Option<u64>, _ui: &mut Ui) { ... }
}
Required Methods
sourcefn inspect_child(&mut self, this_id: u64, search_id: u64, ui: &mut Ui)
fn inspect_child(&mut self, this_id: u64, search_id: u64, ui: &mut Ui)
Searches for an object with the ID given in this element and its children, and calls its inspect_ui function if it is found.