Trait vizia_core::context::TreeProps

source ·
pub trait TreeProps {
    // Required methods
    fn parent(&self) -> Entity;
    fn first_child(&self) -> Entity;
    fn parent_window(&self) -> Option<Entity>;
}
Expand description

Trait for querying properties of the tree from a context.

Required Methods§

source

fn parent(&self) -> Entity

Returns the id of the parent of the current view.

source

fn first_child(&self) -> Entity

Returns the id of the first_child of the current view.

source

fn parent_window(&self) -> Option<Entity>

Implementors§