Selector

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

Source§

type Component = ComponentSelector

Source§

type Tree = TreeSelector

Source§

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

Source§

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

Implementors§