Enum termion::event::Event [] [src]

pub enum Event {
    Key(Key),
    Mouse(MouseEvent),
    Unsupported(Vec<u8>),
}

An event reported by the terminal.

Variants

A key press.

A mouse button press, release or wheel use at specific coordinates.

An event that cannot currently be evaluated.

Trait Implementations

impl Debug for Event
[src]

Formats the value using the given formatter.

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. 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]

impl Hash for Event
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.