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

Id(&'a str)

Selects a view from its ID.

Path(&'a ViewPath)

Selects a view from its path.