Enum curse::Key [] [src]

pub enum Key {
    Tab,
    Enter,
    Esc,
    Backspace,
    Right,
    Left,
    Up,
    Down,
    Delete,
    Insert,
    Home,
    End,
    PgUp,
    PgDn,
    Char(char),
    Ctrl(char),
    F(u16),
}

Variants

Methods

impl Key
[src]

Trait Implementations

impl PartialEq for Key
[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 Key
[src]

impl Clone for Key
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Key
[src]

impl Debug for Key
[src]

Formats the value using the given formatter.