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.
Expand description
Unsupported escape sequence (on unix platform)
Expand description
⌫ or Ctrl-H
Expand description
⇤ (usually Shift-Tab)
Expand description
Paste (on unix platform)
Expand description
Paste (on unix platform)
Char(char)
Expand description
Single char
Expand description
⌦
Expand description
↓ arrow key
Expand description
⇲
Expand description
↵ or Ctrl-M
Expand description
Escape or Ctrl-[
F(u8)
Expand description
Function key
Expand description
⇱
Expand description
Insert key
Expand description
← arrow key
Expand description
\0
Expand description
⇟
Expand description
⇞
Expand description
→ arrow key
Expand description
⇥ or Ctrl-I
Expand description
↑ arrow key
Trait Implementations
impl Copy for KeyCode
[src]
impl Eq for KeyCode
[src]
impl StructuralEq for KeyCode
[src]
impl StructuralPartialEq for KeyCode
[src]
Auto Trait Implementations
impl RefUnwindSafe for KeyCode
impl Send for KeyCode
impl Sync for KeyCode
impl Unpin for KeyCode
impl UnwindSafe for KeyCode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more