Trait flo_ui::DiffableTree
[−]
[src]
pub trait DiffableTree where
Self: Clone, { fn child_nodes<'a>(&'a self) -> Vec<&'a Self>; fn is_different(&self, compare_to: &Self) -> bool; }
Trait implemented by tree structures that can describe how they differ from another structure.
Required Methods
fn child_nodes<'a>(&'a self) -> Vec<&'a Self>
Retrieves the child nodes of this item
fn is_different(&self, compare_to: &Self) -> bool
Returns true if this node is different from the specified node (excluding child nodes)
Implementors
impl DiffableTree for Control