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

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.

Implementations

impl ViewPath[src]

pub fn new() -> ViewPath[src]

Creates a new empty path.

pub fn from<T>(path: T) -> ViewPath where
    T: ToPath, 
[src]

Creates a path from the given item.

Trait Implementations

impl Default for ViewPath[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> With for T[src]