[][src]Enum crossterm::KeyEvent

pub enum KeyEvent {
    Backspace,
    Left,
    Right,
    Up,
    Down,
    Home,
    End,
    PageUp,
    PageDown,
    BackTab,
    Delete,
    Insert,
    F(u8),
    Char(char),
    Alt(char),
    Ctrl(char),
    Null,
    Esc,
}

Enum with different key or key combinations.

Variants

BackspaceLeftRightUpDownHomeEndPageUpPageDownBackTabDeleteInsertF(u8)Char(char)Alt(char)Ctrl(char)NullEsc

Trait Implementations

impl PartialOrd<KeyEvent> for KeyEvent[src]

impl Eq for KeyEvent[src]

impl Debug for KeyEvent[src]

impl PartialEq<KeyEvent> for KeyEvent[src]

Auto Trait Implementations

impl Send for KeyEvent

impl Sync for KeyEvent

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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