[−][src]Enum bear_lib_terminal::terminal::KeyCode
All pressable keys.
Variants
Top-row 1/! key.
Top-row 2/@ key.
Top-row 3/# key.
Top-row 4/$ key.
Top-row 5/% key.
Top-row 6/^ key.
Top-row 7/& key.
Top-row 8/* key.
Top-row 9/( key.
Top-row 0/) key.
Top-row `/~ key.
Top-row -/_ key.
Top-row =/+ key.
Second-row [/{ key.
Second-row ]/} key.
Second-row \/| key.
Third-row ;/: key.
Third-row '/" key.
Fourth-row ,/< key.
Fourth-row ./> key.
Fourth-row //? key.
Right arrow key.
Left arrow key.
Down arrow key.
Up arrow key.
Numpad / key.
Numpad * key.
Numpad - key.
Numpad + key.
Numpad ⏎ key.
Numpad Del/. key (output locale-dependent).
Numpad 1/End key.
Numpad 2/↓ key.
Numpad 3/PageDown key.
Numpad 4/← key.
Numpad 5 key.
Numpad 6/→ key.
Numpad 7/Home key.
Numpad 8/↑ key.
Numpad 9/PageUp key.
Numpad 0/Insert key.
Left mouse button.
Right mouse button.
Middle mouse button a.k.a. pressed scroll wheel.
Trait Implementations
impl Clone for KeyCode[src]
impl Copy for KeyCode[src]
impl Debug for KeyCode[src]
impl Eq for KeyCode[src]
impl Hash for KeyCode[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<KeyCode> 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> 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,
fn borrow_mut(&mut self) -> &mut T[src]
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,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,