Struct cursive::view::ViewPath [] [src]

pub struct ViewPath {
    pub path: Vec<usize>,
}

Represents a path to a single view in the layout.

Fields

List of turns to make on decision nodes when descending the view tree. Simple nodes (with one fixed child) are skipped.

Methods

impl ViewPath
[src]

Creates a new empty path.

Creates a path from the given item.

Trait Implementations

impl Default for ViewPath
[src]

Returns the "default value" for a type. Read more