Enum input_actions::source::Key
source · [−]pub enum Key {
Show 115 variants
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,
Escape,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
F13,
F14,
F15,
F16,
F17,
F18,
F19,
F20,
F21,
F22,
F23,
F24,
Key1,
Key2,
Key3,
Key4,
Key5,
Key6,
Key7,
Key8,
Key9,
Key0,
Numlock,
Numpad0,
Numpad1,
Numpad2,
Numpad3,
Numpad4,
Numpad5,
Numpad6,
Numpad7,
Numpad8,
Numpad9,
NumpadPlus,
NumpadMinus,
NumpadAsterisk,
NumpadSlash,
NumpadDecimal,
NumpadEnter,
Snapshot,
ScrollLock,
Pause,
Insert,
Home,
Delete,
End,
PageUp,
PageDown,
Left,
Right,
Up,
Down,
Grave,
Back,
Tab,
CapitalLock,
Return,
Space,
LAlt,
RAlt,
LShift,
RShift,
LControl,
RControl,
LWin,
RWin,
Minus,
Equals,
LBracket,
RBracket,
Backslash,
Semicolon,
Apostrophe,
Comma,
Period,
Slash,
}
Variants
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
Escape
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
F24
Key1
Key2
Key3
Key4
Key5
Key6
Key7
Key8
Key9
Key0
Numlock
Numpad0
Numpad1
Numpad2
Numpad3
Numpad4
Numpad5
Numpad6
Numpad7
Numpad8
Numpad9
NumpadPlus
NumpadMinus
NumpadAsterisk
NumpadSlash
NumpadDecimal
NumpadEnter
Snapshot
ScrollLock
Pause
Insert
Home
Delete
End
PageUp
PageDown
Left
Right
Up
Down
Grave
Back
Tab
CapitalLock
Return
Space
LAlt
RAlt
LShift
RShift
LControl
RControl
LWin
RWin
Minus
Equals
LBracket
RBracket
Backslash
Semicolon
Apostrophe
Comma
Period
Slash
Trait Implementations
sourceimpl TryFrom<VirtualKeyCode> for Key
impl TryFrom<VirtualKeyCode> for Key
impl Copy for Key
impl Eq for Key
impl StructuralEq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more