[−][src]Enum winconsole::input::KeyCode
Represents a virtual key code.
Variants
NoneDefault value.
LButtonLeft mouse button.
RButtonRight mouse button.
CancelControl-break processing.
MButtonMiddle mouse button (three-button mouse).
XButton1X1 mouse button.
XButton2X2 mouse button.
BackspaceBackspace key.
TabTab key.
ClearClear key.
ReturnEnter key.
ShiftShift key.
ControlCtrl key.
MenuAlt key.
PausePause key.
CapitalCaps Lock key.
KanaHangulIme Kana/Hangul Mode.
JunjaIme Junja Mode.
FinalIme Final Mode.
HanjaKanjiIme Hanja/Kanji Mode.
EscapeEscape key.
ConvertIme Convert.
NonConvertIme Nonconvert.
AcceptIme Accept.
ModeChangeIme Mode Change Request.
SpaceSpacebar.
PageUpPage Up key.
PageDownPage Down key.
EndEnd key.
HomeHome key.
LeftLeft Arrow key.
UpUp Arrow key.
RightRight Arrow key.
DownDown Arrow key.
SelectSelect key.
PrintPrint key.
ExecuteExecute key.
SnapshotPrint Screen key.
InsertIns key.
DeleteDel key.
HelpHelp key.
Zero0 key.
One1 key.
Two2 key.
Three3 key.
Four4 key.
Five5 key.
Six6 key.
Seven7 key.
Eight8 key.
Nine9 key.
AA key.
BB key.
CC key.
DD key.
EE key.
FF key.
GG key.
HH key.
II key.
JJ key.
KK key.
LL key.
MM key.
NN key.
OO key.
PP key.
QQ key.
RR key.
SS key.
TT key.
UU key.
VV key.
WW key.
XX key.
YY key.
ZZ key.
LWinLeft Windows Key (natural Keyboard).
RWinRight Windows Key (natural Keyboard).
AppsApplications Key (natural Keyboard).
SleepComputer Sleep key.
Numpad0Numeric Keypad 0 key.
Numpad1Numeric Keypad 1 key.
Numpad2Numeric Keypad 2 key.
Numpad3Numeric Keypad 3 key.
Numpad4Numeric Keypad 4 key.
Numpad5Numeric Keypad 5 key.
Numpad6Numeric Keypad 6 key.
Numpad7Numeric Keypad 7 key.
Numpad8Numeric Keypad 8 key.
Numpad9Numeric Keypad 9 key.
MultiplyMultiply key.
AddAdd key.
SeparatorSeparator key.
SubtractSubtract key.
DecimalDecimal key.
DivideDivide key.
F1F1 key.
F2F2 key.
F3F3 key.
F4F4 key.
F5F5 key.
F6F6 key.
F7F7 key.
F8F8 key.
F9F9 key.
F10F10 key.
F11F11 key.
F12F12 key.
F13F13 key.
F14F14 key.
F15F15 key.
F16F16 key.
F17F17 key.
F18F18 key.
F19F19 key.
F20F20 key.
F21F21 key.
F22F22 key.
F23F23 key.
F24F24 key.
NumLockNum Lock key.
ScrollScroll Lock key.
LShiftLeft Shift key.
RShiftRight Shift key.
LControlLeft Control key.
RControlRight Control key.
LMenuLeft Menu key.
RMenuRight Menu key.
BrowserBackBrowser Back key.
BrowserForwardBrowser Forward key.
BrowserRefreshBrowser Refresh key.
BrowserStopBrowser Stop key.
BrowserSearchBrowser Search key.
BrowserFavoritesBrowser Favorites key.
BrowserHomeBrowser Start And Home key.
VolumeMuteVolume Mute key.
VolumeDownVolume Down key.
VolumeUpVolume Up key.
MediaNextTrackNext Track key.
MediaPrevTrackPrevious Track key.
MediaStopStop Media key.
MediaPlayPausePlay/pause Media key.
LaunchMailStart Mail key.
LaunchMediaSelectSelect Media key.
LaunchApp1Start Application 1 key.
LaunchApp2Start Application 2 key.
Oem1Used for miscellaneous characters; it can vary by keyboard.
PlusThe '+' key.
CommaThe ',' key.
MinusThe '-' key.
PeriodThe '.' key.
Oem2Used for miscellaneous characters; it can vary by keyboard.
Oem3Used for miscellaneous characters; it can vary by keyboard.
Oem4For the U.S. standard keyboard, the '[{' key.
Oem5For the U.S. standard keyboard, the '|' key.
Oem6For the U.S. standard keyboard, the ']}' key.
Oem7For the U.S. standard keyboard, the 'single-quote/double-quote' key.
Oem8Used for miscellaneous characters; it can vary by keyboard.
Oem102Either the angle bracket key or the backslash key on the RT 102-key keyboard.
ProcessKeyIme Process key.
AttnAttn key.
CrSelCrsel key.
ExSelExsel key.
ErEOFErase Eof key.
PlayPlay key.
ZoomZoom key.
NoNameReserved.
PA1Pa1 key.
OEMClearClear key.
NoMappingReturned 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) -> bool1.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>,