pub enum KeyName {
Show 104 variants
Return,
Escape,
BackSpace,
Tab,
Space,
Exclamation,
DoubleQuote,
Hash,
Percent,
Dollar,
Ampersand,
SingleQuote,
LeftParen,
RightParen,
Asterisk,
Plus,
Comma,
Minus,
Dot,
Slash,
Num1,
Num2,
Num3,
Num4,
Num5,
Num6,
Num7,
Num8,
Num9,
Num0,
Colon,
Semicolon,
LessThan,
Equal,
GreaterThan,
Question,
At,
LeftBracket,
Backslash,
RightBracket,
Caret,
Underscore,
Backtick,
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,
Delete,
CapsLock,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
PrintScreen,
ScrollLock,
Pause,
Insert,
Home,
PageUp,
End,
PageDown,
Right,
Left,
Down,
Up,
Application,
LCtrl,
LShift,
LAlt,
LGui,
RCtrl,
RShift,
RAlt,
RGui,
}Variants§
Return
Escape
BackSpace
Tab
Space
Exclamation
DoubleQuote
Hash
Percent
Dollar
Ampersand
SingleQuote
LeftParen
RightParen
Asterisk
Plus
Comma
Minus
Dot
Slash
Num1
Num2
Num3
Num4
Num5
Num6
Num7
Num8
Num9
Num0
Colon
Semicolon
LessThan
Equal
GreaterThan
Question
At
LeftBracket
Backslash
RightBracket
Caret
Underscore
Backtick
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
Delete
CapsLock
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
PrintScreen
ScrollLock
Pause
Insert
Home
PageUp
End
PageDown
Right
Left
Down
Up
Application
LCtrl
LShift
LAlt
LGui
RCtrl
RShift
RAlt
RGui
Trait Implementations§
impl Copy for KeyName
impl StructuralPartialEq for KeyName
Auto Trait Implementations§
impl Freeze for KeyName
impl RefUnwindSafe for KeyName
impl Send for KeyName
impl Sync for KeyName
impl Unpin for KeyName
impl UnwindSafe for KeyName
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