Struct cursive::view::ViewPath
[−]
[src]
pub struct ViewPath { pub path: Vec<usize>, }
Represents a path to a single view in the layout.
Fields
path: Vec<usize>
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]
fn new() -> Self
Creates a new empty path.
fn from<T: ToPath>(path: T) -> Self
Creates a path from the given item.