selectors

Trait Selector

Source
pub trait Selector {
    type Component: ComponentSelector;
    type Tree: TreeSelector;

    // Required methods
    fn component(&self) -> Option<&Self::Component>;
    fn tree(&self) -> Option<&Self::Tree>;
}

Required Associated Types§

Required Methods§

Source

fn component(&self) -> Option<&Self::Component>

Source

fn tree(&self) -> Option<&Self::Tree>

Implementations on Foreign Types§

Source§

impl Selector for Selector

Implementors§