Enum rustyline::KeyCode [−][src]
#[non_exhaustive] pub enum KeyCode { }
Expand description
Input key pressed
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unsupported escape sequence (on unix platform)
⌫ or Ctrl-H
⇤ (usually Shift-Tab)
Paste (on unix platform)
Paste (on unix platform)
Single char
Tuple Fields of Char
0: char
⌦
↓ arrow key
⇲
↵ or Ctrl-M
Escape or Ctrl-[
Function key
Tuple Fields of F
0: u8
⇱
Insert key
← arrow key
\0
⇟
⇞
→ arrow key
⇥ or Ctrl-I
↑ arrow key
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyCode
impl UnwindSafe for KeyCode
Blanket Implementations
Mutably borrows from an owned value. Read more