[−][src]Enum pc_keyboard::KeyCode
Keycodes that can be generated by a keyboard.
Variants
AltLeft
AltRight
ArrowDown
ArrowLeft
ArrowRight
ArrowUp
BackSlash
Backspace
BackTick
BracketSquareLeft
BracketSquareRight
CapsLock
Comma
ControlLeft
ControlRight
Delete
End
Enter
Escape
Equals
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Fullstop
Home
Insert
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
Key0
Menus
Minus
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
NumpadEnter
NumpadLock
NumpadSlash
NumpadStar
NumpadMinus
NumpadPeriod
NumpadPlus
PageDown
PageUp
PauseBreak
PrintScreen
ScrollLock
SemiColon
ShiftLeft
ShiftRight
Slash
Spacebar
Tab
Quote
WindowsLeft
WindowsRight
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
HashTilde
Not on US keyboards
PrevTrack
NextTrack
Mute
Calculator
Play
Stop
VolumeDown
VolumeUp
WWWHome
PowerOnTestOk
Trait Implementations
impl Clone for KeyCode
[src]
fn clone(&self) -> KeyCode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for KeyCode
[src]
impl PartialEq<KeyCode> for KeyCode
[src]
fn eq(&self, other: &KeyCode) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Eq for KeyCode
[src]
impl Ord for KeyCode
[src]
fn cmp(&self, other: &KeyCode) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl PartialOrd<KeyCode> for KeyCode
[src]
fn partial_cmp(&self, other: &KeyCode) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> boolThis method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> boolThis method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> boolThis method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> boolThis method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for KeyCode
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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 for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,