pub trait WidgetTree {
// Required methods
fn get_widget_classname(&self, path: &[usize]) -> Option<String>;
fn get_path_names(&self, path: &[usize]) -> Option<Vec<String>>;
fn get_path_indexes(&self, path: &[&str]) -> Option<Vec<usize>>;
fn get_partial_path_indexes(&self, path: &[&str]) -> (Vec<usize>, String);
}Required Methods§
Sourcefn get_widget_classname(&self, path: &[usize]) -> Option<String>
fn get_widget_classname(&self, path: &[usize]) -> Option<String>
return the widget type
Sourcefn get_path_names(&self, path: &[usize]) -> Option<Vec<String>>
fn get_path_names(&self, path: &[usize]) -> Option<Vec<String>>
return the full path names to the widget