Enum terminal_cli::Key [] [src]

pub enum Key {
    Arrow(DirectionKey),
    Backspace,
    Tab,
    Newline,
    CarriageReturn,
    Break,
    Eot,
    Character(u8),
}

Decoded key press

Variants

Trait Implementations

impl Debug for Key
[src]

[src]

Formats the value using the given formatter.

impl Copy for Key
[src]

impl Clone for Key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Key
[src]

[src]

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

[src]

This method tests for !=.