Enum endbasic_std::console::Key  [−][src]
pub enum Key {
}Expand description
Decoded key presses as returned by the console.
Variants
The cursor down key.
The cursor left key.
The cursor right key.
The cursor up key.
Deletes the previous character.
Accepts the current line.
Char(char)A printable character.
Tuple Fields of Char
0: charThe end key or Ctrl-E.
Indicates a request for termination (e.g. Ctrl-D).
The escape key.
Indicates a request for interrupt (e.g. Ctrl-C).
The home key or Ctrl-A.
Accepts the current line.
The Page Down key.
The Page Up key.
The Tab key.
Unknown(String)An unknown character or sequence. The text describes what went wrong.
Tuple Fields of Unknown
0: StringTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Key
impl UnwindSafe for Key
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more