Trait WidgetTree

Source
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>>;
}

Required Methods§

Source

fn get_widget_classname(&self, path: &[usize]) -> Option<String>

return the widget type

Source

fn get_path_names(&self, path: &[usize]) -> Option<Vec<String>>

return the full path names to the widget

Source

fn get_path_indexes(&self, path: &[&str]) -> Option<Vec<usize>>

return the full path indexes to the widget

Implementors§