Enum console::Key [−][src]
pub enum Key { Unknown, UnknownEscSeq(Vec<char>), ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Enter, Escape, Backspace, Home, End, Tab, BackTab, Del, Insert, PageUp, PageDown, Char(char), }
Key mapping
This is an incomplete mapping of keys that are supported for reading from the keyboard.
Variants (Non-exhaustive)
Unrecognized sequence containing Esc and a list of chars
Char(char)
Trait Implementations
impl Clone for Key
[src][+]
impl Debug for Key
[src][+]
impl Eq for Key
[src]
impl PartialEq<Key> for Key
[src][+]
impl StructuralEq for Key
[src]
impl StructuralPartialEq for Key
[src]
Auto Trait Implementations
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,