[][src]Enum terminal::Retrieved

pub enum Retrieved {
    TerminalSize(u16u16),
    CursorPosition(u16u16),
    Event(Option<Event>),
}

A result that is returned from a request for a Value.

A Value can be retrieved with Terminal::get.

Variants

TerminalSize(u16u16)

The terminal size is returned number of (column, row)s.

CursorPosition(u16u16)

The cursor position is returned (column, row). The top left cell is represented 0,0.

Event(Option<Event>)

An event is returned. Timeout occurred if None is returned.

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> 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.