Enum term_input::Event[][src]

pub enum Event {
    Key(Key),
    String(String),
    Resize,
    FocusGained,
    FocusLost,
    Unknown(Vec<u8>),
}

Variants

A single key input.

Usually a paste.

SIGWINCH happened.

An unknown sequence of bytes (probably for a key combination that we don't care about).

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Event
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Event
[src]

Auto Trait Implementations

impl Send for Event

impl Sync for Event