pub enum Key {
Show 145 variants
UNKNOWN,
ESCAPE,
D1,
D2,
D3,
D4,
D5,
D6,
D7,
D8,
D9,
D0,
MINUS,
EQUALS,
BACK,
TAB,
Q,
W,
E,
R,
T,
Y,
U,
I,
O,
P,
LEFTBRACKET,
RIGHTBRACKET,
RETURN,
LEFTCONTROL,
A,
S,
D,
F,
G,
H,
J,
K,
L,
SEMICOLON,
APOSTROPHE,
GRAVE,
LEFTSHIFT,
BACKSLASH,
Z,
X,
C,
V,
B,
N,
M,
COMMA,
PERIOD,
SLASH,
RIGHTSHIFT,
MULTIPLY,
LEFTALT,
SPACE,
CAPITAL,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
NUMBERLOCK,
SCROLLLOCK,
NUMBERPAD7,
NUMBERPAD8,
NUMBERPAD9,
SUBTRACT,
NUMBERPAD4,
NUMBERPAD5,
NUMBERPAD6,
ADD,
NUMBERPAD1,
NUMBERPAD2,
NUMBERPAD3,
NUMBERPAD0,
DECIMAL,
OEM102,
F11,
F12,
F13,
F14,
F15,
KANA,
ABNTC1,
CONVERT,
NOCONVERT,
YEN,
ABNTC2,
NUMBERPADEQUALS,
PREVIOUSTRACK,
AT,
COLON,
UNDERLINE,
KANJI,
STOP,
AX,
UNLABELED,
NEXTTRACK,
NUMBERPADENTER,
RIGHTCONTROL,
MUTE,
CALCULATOR,
PLAYPAUSE,
MEDIASTOP,
VOLUMEDOWN,
VOLUMEUP,
WEBHOME,
NUMBERPADCOMMA,
DIVIDE,
PRINTSCREEN,
RIGHTALT,
PAUSE,
HOME,
UP,
PAGEUP,
LEFT,
RIGHT,
END,
DOWN,
PAGEDOWN,
INSERT,
DELETE,
LEFTWINDOWSKEY,
RIGHTWINDOWSKEY,
APPLICATIONS,
POWER,
SLEEP,
WAKE,
WEBSEARCH,
WEBFAVORITES,
WEBREFRESH,
WEBSTOP,
WEBFORWARD,
WEBBACK,
MYCOMPUTER,
MAIL,
MEDIASELECT,
}
Variants
UNKNOWN
ESCAPE
D1
D2
D3
D4
D5
D6
D7
D8
D9
D0
MINUS
EQUALS
BACK
TAB
Q
W
E
R
T
Y
U
I
O
P
LEFTBRACKET
RIGHTBRACKET
RETURN
LEFTCONTROL
A
S
D
F
G
H
J
K
L
SEMICOLON
APOSTROPHE
GRAVE
LEFTSHIFT
BACKSLASH
Z
X
C
V
B
N
M
COMMA
PERIOD
SLASH
RIGHTSHIFT
MULTIPLY
LEFTALT
SPACE
CAPITAL
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
NUMBERLOCK
SCROLLLOCK
NUMBERPAD7
NUMBERPAD8
NUMBERPAD9
SUBTRACT
NUMBERPAD4
NUMBERPAD5
NUMBERPAD6
ADD
NUMBERPAD1
NUMBERPAD2
NUMBERPAD3
NUMBERPAD0
DECIMAL
OEM102
F11
F12
F13
F14
F15
KANA
ABNTC1
CONVERT
NOCONVERT
YEN
ABNTC2
NUMBERPADEQUALS
PREVIOUSTRACK
AT
COLON
UNDERLINE
KANJI
STOP
AX
UNLABELED
NEXTTRACK
NUMBERPADENTER
RIGHTCONTROL
MUTE
CALCULATOR
PLAYPAUSE
MEDIASTOP
VOLUMEDOWN
VOLUMEUP
WEBHOME
NUMBERPADCOMMA
DIVIDE
PRINTSCREEN
RIGHTALT
PAUSE
HOME
UP
PAGEUP
LEFT
RIGHT
END
DOWN
PAGEDOWN
INSERT
DELETE
LEFTWINDOWSKEY
RIGHTWINDOWSKEY
APPLICATIONS
POWER
SLEEP
WAKE
WEBSEARCH
WEBFAVORITES
WEBREFRESH
WEBSTOP
WEBFORWARD
WEBBACK
MYCOMPUTER
MAIL
MEDIASELECT
Implementations
sourceimpl Key
impl Key
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
pub fn read_from_in_protocol(i_prot: &mut dyn TInputProtocol) -> Result<Key>
Trait Implementations
sourceimpl Ord for Key
impl Ord for Key
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Key> for Key
impl PartialOrd<Key> for Key
sourcefn partial_cmp(&self, other: &Key) -> Option<Ordering>
fn partial_cmp(&self, other: &Key) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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