Struct cursive::view::ViewPath

source ·
pub struct ViewPath {
    pub path: Vec<usize>,
}
Expand description

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.

Implementations

Creates a new empty path.

Creates a path from the given item.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.