Enum cursive::view::Selector[][src]

pub enum Selector<'a> {
    Id(&'a str),
    Path(&'a ViewPath),
}

Selects a single view (if any) in the tree.

Variants

Selects a view from its ID.

Selects a view from its path.

Auto Trait Implementations

impl<'a> Send for Selector<'a>

impl<'a> Sync for Selector<'a>