pub enum Qwerty {
Show 93 variants
Esc,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
Tilda,
One,
Two,
Three,
Four,
Five,
Six,
Seven,
Eight,
Nine,
Zero,
Dash,
Equal,
Backspace,
Tab,
Q,
W,
E,
R,
T,
Y,
U,
I,
O,
P,
LSqBracket,
RSqBracket,
Backslash,
Caps,
A,
S,
D,
F,
G,
H,
J,
K,
L,
SemiColon,
Parenthesis,
Enter,
LShift,
Z,
X,
C,
V,
B,
N,
M,
Comma,
Period,
Slash,
RShift,
LCtrl,
LSuper,
LAlt,
Space,
RAlt,
RSuper,
RCtrl,
PrintScreen,
ScrollLock,
Pause,
Insert,
Home,
PageUp,
Delete,
End,
PageDown,
ArrowUp,
ArrowDown,
ArrowLeft,
ArrowRight,
TrackMute,
TrackVolDown,
TrackVolUp,
TrackPlayPause,
TrackBack,
TrackNext,
Unknown(u32),
}
Expand description
For use when key location matters. May not always correlate to the actual key.
Variants
Esc
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Tilda
One
Two
Three
Four
Five
Six
Seven
Eight
Nine
Zero
Dash
Equal
Backspace
Tab
Q
W
E
R
T
Y
U
I
O
P
LSqBracket
RSqBracket
Backslash
Caps
A
S
D
F
G
H
J
K
L
SemiColon
Parenthesis
Enter
LShift
Z
X
C
V
B
N
M
Comma
Period
Slash
RShift
LCtrl
LSuper
LAlt
Space
RAlt
RSuper
RCtrl
PrintScreen
ScrollLock
Pause
Insert
Home
PageUp
Delete
End
PageDown
ArrowUp
ArrowDown
ArrowLeft
ArrowRight
TrackMute
TrackVolDown
TrackVolUp
TrackPlayPause
TrackBack
TrackNext
Unknown(u32)
Trait Implementations
sourceimpl Ord for Qwerty
impl Ord for Qwerty
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Qwerty> for Qwerty
impl PartialOrd<Qwerty> for Qwerty
sourcefn partial_cmp(&self, other: &Qwerty) -> Option<Ordering>
fn partial_cmp(&self, other: &Qwerty) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Qwerty
impl Eq for Qwerty
impl StructuralEq for Qwerty
impl StructuralPartialEq for Qwerty
Auto Trait Implementations
impl RefUnwindSafe for Qwerty
impl Send for Qwerty
impl Sync for Qwerty
impl Unpin for Qwerty
impl UnwindSafe for Qwerty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more