pub enum Key {
Show 76 variants
LeftMouseButton,
MiddleMouseButton,
RightMouseButton,
Key1,
Key2,
Key3,
Key4,
Key5,
Key6,
Key7,
Key8,
Key9,
Key0,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
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,
Tab,
Shift,
Ctrl,
Alt,
Space,
Enter,
Backspace,
Escape,
Home,
End,
Minus,
Plus,
BracketOpen,
BracketClose,
Comma,
Period,
Semicolon,
Quote,
Tilde,
Backslash,
Slash,
Left,
Right,
Up,
Down,
}
Expand description
A key
Variants§
LeftMouseButton
MiddleMouseButton
RightMouseButton
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
Key0
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
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
Tab
Shift
Ctrl
Alt
Space
Enter
Backspace
Escape
Home
End
Minus
Plus
BracketOpen
BracketClose
Comma
Period
Semicolon
Quote
Tilde
Backslash
Slash
Left
Right
Up
Down
Trait Implementations§
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.