[−][src]Enum winconsole::input::KeyCode
Represents a virtual key code.
Variants
None
Default value.
LButton
Left mouse button.
RButton
Right mouse button.
Cancel
Control-break processing.
MButton
Middle mouse button (three-button mouse).
XButton1
X1 mouse button.
XButton2
X2 mouse button.
Backspace
Backspace key.
Tab
Tab key.
Clear
Clear key.
Return
Enter key.
Shift
Shift key.
Control
Ctrl key.
Menu
Alt key.
Pause
Pause key.
Capital
Caps Lock key.
KanaHangul
Ime Kana/Hangul Mode.
Junja
Ime Junja Mode.
Final
Ime Final Mode.
HanjaKanji
Ime Hanja/Kanji Mode.
Escape
Escape key.
Convert
Ime Convert.
NonConvert
Ime Nonconvert.
Accept
Ime Accept.
ModeChange
Ime Mode Change Request.
Space
Spacebar.
PageUp
Page Up key.
PageDown
Page Down key.
End
End key.
Home
Home key.
Left
Left Arrow key.
Up
Up Arrow key.
Right
Right Arrow key.
Down
Down Arrow key.
Select
Select key.
Print
Print key.
Execute
Execute key.
Snapshot
Print Screen key.
Insert
Ins key.
Delete
Del key.
Help
Help key.
Zero
0 key.
One
1 key.
Two
2 key.
Three
3 key.
Four
4 key.
Five
5 key.
Six
6 key.
Seven
7 key.
Eight
8 key.
Nine
9 key.
A
A key.
B
B key.
C
C key.
D
D key.
E
E key.
F
F key.
G
G key.
H
H key.
I
I key.
J
J key.
K
K key.
L
L key.
M
M key.
N
N key.
O
O key.
P
P key.
Q
Q key.
R
R key.
S
S key.
T
T key.
U
U key.
V
V key.
W
W key.
X
X key.
Y
Y key.
Z
Z key.
LWin
Left Windows Key (natural Keyboard).
RWin
Right Windows Key (natural Keyboard).
Apps
Applications Key (natural Keyboard).
Sleep
Computer Sleep key.
Numpad0
Numeric Keypad 0 key.
Numpad1
Numeric Keypad 1 key.
Numpad2
Numeric Keypad 2 key.
Numpad3
Numeric Keypad 3 key.
Numpad4
Numeric Keypad 4 key.
Numpad5
Numeric Keypad 5 key.
Numpad6
Numeric Keypad 6 key.
Numpad7
Numeric Keypad 7 key.
Numpad8
Numeric Keypad 8 key.
Numpad9
Numeric Keypad 9 key.
Multiply
Multiply key.
Add
Add key.
Separator
Separator key.
Subtract
Subtract key.
Decimal
Decimal key.
Divide
Divide key.
F1
F1 key.
F2
F2 key.
F3
F3 key.
F4
F4 key.
F5
F5 key.
F6
F6 key.
F7
F7 key.
F8
F8 key.
F9
F9 key.
F10
F10 key.
F11
F11 key.
F12
F12 key.
F13
F13 key.
F14
F14 key.
F15
F15 key.
F16
F16 key.
F17
F17 key.
F18
F18 key.
F19
F19 key.
F20
F20 key.
F21
F21 key.
F22
F22 key.
F23
F23 key.
F24
F24 key.
NumLock
Num Lock key.
Scroll
Scroll Lock key.
LShift
Left Shift key.
RShift
Right Shift key.
LControl
Left Control key.
RControl
Right Control key.
LMenu
Left Menu key.
RMenu
Right Menu key.
BrowserBack
Browser Back key.
BrowserForward
Browser Forward key.
BrowserRefresh
Browser Refresh key.
BrowserStop
Browser Stop key.
BrowserSearch
Browser Search key.
BrowserFavorites
Browser Favorites key.
BrowserHome
Browser Start And Home key.
VolumeMute
Volume Mute key.
VolumeDown
Volume Down key.
VolumeUp
Volume Up key.
MediaNextTrack
Next Track key.
MediaPrevTrack
Previous Track key.
MediaStop
Stop Media key.
MediaPlayPause
Play/pause Media key.
LaunchMail
Start Mail key.
LaunchMediaSelect
Select Media key.
LaunchApp1
Start Application 1 key.
LaunchApp2
Start Application 2 key.
Oem1
Used for miscellaneous characters; it can vary by keyboard.
Plus
The '+' key.
Comma
The ',' key.
Minus
The '-' key.
Period
The '.' key.
Oem2
Used for miscellaneous characters; it can vary by keyboard.
Oem3
Used for miscellaneous characters; it can vary by keyboard.
Oem4
For the U.S. standard keyboard, the '[{' key.
Oem5
For the U.S. standard keyboard, the '|' key.
Oem6
For the U.S. standard keyboard, the ']}' key.
Oem7
For the U.S. standard keyboard, the 'single-quote/double-quote' key.
Oem8
Used for miscellaneous characters; it can vary by keyboard.
Oem102
Either the angle bracket key or the backslash key on the RT 102-key keyboard.
ProcessKey
Ime Process key.
Attn
Attn key.
CrSel
Crsel key.
ExSel
Exsel key.
ErEOF
Erase Eof key.
Play
Play key.
Zoom
Zoom key.
NoName
Reserved.
PA1
Pa1 key.
OEMClear
Clear key.
NoMapping
Returned from keys with no mapping.
Methods
impl KeyCode
[src]
Trait Implementations
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]
This method tests for !=
.
impl From<u8> for KeyCode
[src]
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 Into<u8> for KeyCode
[src]
impl Copy for KeyCode
[src]
impl Display for KeyCode
[src]
impl Debug for KeyCode
[src]
impl Serialize for KeyCode
[src]
impl<'de> Deserialize<'de> for KeyCode
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,