Trait tuix::TreeExt[]

pub trait TreeExt {
    fn parent(&self, tree: &Tree) -> Option<Entity>;
fn is_sibling(&self, tree: &Tree, entity: Entity) -> bool;
fn is_child_of(&self, tree: &Tree, entity: Entity) -> bool;
fn is_descendant_of(&self, tree: &Tree, entity: Entity) -> bool; }
Expand description

Trait which provides methods for investigating entity relations within the tree.

Required methods

Implementors