Enum wlc::Key
[−]
[src]
#[repr(i32)]pub enum Key { Reserved, Esc, _1, _2, _3, _4, _5, _6, _7, _8, _9, _0, Minus, Equal, BackSpace, Tab, Q, W, E, R, T, Y, U, I, O, P, LeftBrace, RightBrace, Enter, LeftControl, A, S, D, F, G, H, J, K, L, SemiColon, Apostrophe, Grave, LeftShift, BackSlash, Z, X, C, V, B, N, M, Comma, Dot, Slash, RightShift, LeftAlt, Space, CapsLock, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, NumLock, ScrollLock, F11, F12, RightControl, SysRq, RightAlt, LineFeed, Home, Up, PageUp, Left, Right, End, Down, PageDown, Insert, Delete, LeftMeta, RightMeta, ScrollUp, ScrollDown, F13, F14, F15, F16, F17, F18, F19, F20, F21, F22, F23, F24, KP7, KP8, KP9, KPMinus, KP4, KP5, KP6, KPPlus, KP1, KP2, KP3, KP0, KPDot, Zenkakuhankaku, _102ND, RO, Katakana, Hiragana, Henkan, KatakanaHiragana, Muhenkan, KPJPComma, KPEnter, KPSlash, Macro, Mute, VolumeDown, VolumeUp, Power, KPEqual, KPPlusMinus, Pause, Scale, KPComma, Hangeul, Hanja, Yen, Compose, Stop, Again, Props, Undo, Front, Copy, Open, Paste, Find, Cut, Help, Menu, Calc, Setup, Sleep, Wakeup, File, Sendfile, DeleteFile, Xfer, Prog1, Prog2, WWW, MSDos, ScreenLock, RotateDisplay, CycleWindows, Mail, Bookmarks, Computer, Back, Forward, CloseCD, EjectCD, EjectCloseCD, NextSong, PlayPause, PreviousSong, StopCD, Record, Rewind, Phone, Iso, Config, HomePage, Refresh, Exit, Move, Edit, KPLeftParen, KPRightParen, New, Redo, PlayCD, PauseCD, Prog3, Prog4, Dashboard, Suspend, Close, Play, FastForward, BassBoost, Print, HP, Camera, Sound, Question, Email, Chat, Search, Connect, Finance, Sport, Shop, AltErase, Cancel, BrightnessDown, BrightnessUp, Media, SwitchVideoMode, KBDIllumToggle, KBDIllumDown, KBDIllumUp, Send, Reply, ForwardMail, Save, Documents, Battery, Bluetooth, Wlan, Uwb, Unknown, VideoNext, VideoPrev, BrightnessCycle, BrightnessAuto, DisplayOff, WWan, RFKill, MicMute, }
Variants
Reserved
Esc
_1
_2
_3
_4
_5
_6
_7
_8
_9
_0
Minus
Equal
BackSpace
Tab
Q
W
E
R
T
Y
U
I
O
P
LeftBrace
RightBrace
Enter
LeftControl
A
S
D
F
G
H
J
K
L
SemiColon
Apostrophe
Grave
LeftShift
BackSlash
Z
X
C
V
B
N
M
Comma
Dot
Slash
RightShift
LeftAlt
Space
CapsLock
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
NumLock
ScrollLock
F11
F12
RightControl
SysRq
RightAlt
LineFeed
Home
Up
PageUp
Left
Right
End
Down
PageDown
Insert
Delete
LeftMeta
RightMeta
ScrollUp
ScrollDown
F13
F14
F15
F16
F17
F18
F19
F20
F21
F22
F23
F24
KP7
KP8
KP9
KPMinus
KP4
KP5
KP6
KPPlus
KP1
KP2
KP3
KP0
KPDot
Zenkakuhankaku
_102ND
RO
Katakana
Hiragana
Henkan
KatakanaHiragana
Muhenkan
KPJPComma
KPEnter
KPSlash
Macro
Mute
VolumeDown
VolumeUp
Power
KPEqual
KPPlusMinus
Pause
Scale
KPComma
Hangeul
Hanja
Yen
Compose
Stop
Again
Props
Undo
Front
Copy
Open
Paste
Find
Cut
Help
Menu
Calc
Setup
Sleep
Wakeup
File
Sendfile
DeleteFile
Xfer
Prog1
Prog2
WWW
MSDos
ScreenLock
RotateDisplay
CycleWindows
Mail
Bookmarks
Computer
Back
Forward
CloseCD
EjectCD
EjectCloseCD
NextSong
PlayPause
PreviousSong
StopCD
Record
Rewind
Phone
Iso
Config
HomePage
Refresh
Exit
Move
Edit
KPLeftParen
KPRightParen
New
Redo
PlayCD
PauseCD
Prog3
Prog4
Dashboard
Suspend
Close
Play
FastForward
BassBoost
Print
HP
Camera
Sound
Question
Email
Chat
Search
Connect
Finance
Sport
Shop
AltErase
Cancel
BrightnessDown
BrightnessUp
Media
SwitchVideoMode
KBDIllumToggle
KBDIllumDown
KBDIllumUp
Send
Reply
ForwardMail
Save
Documents
Battery
Bluetooth
Wlan
Uwb
Unknown
VideoNext
VideoPrev
BrightnessCycle
BrightnessAuto
DisplayOff
WWan
RFKill
MicMute
Trait Implementations
impl Clone for Key
[src]
fn clone(&self) -> Key
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Key
[src]
impl PartialEq for Key
[src]
fn eq(&self, __arg_0: &Key) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Key
[src]
impl Hash for Key
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Key
[src]
impl FromPrimitive for Key
[src]
fn from_i64(n: i64) -> Option<Self>
Convert an i64
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_u64(n: u64) -> Option<Self>
Convert an u64
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_isize(n: isize) -> Option<Self>
Convert an isize
to return an optional value of this type. If the value cannot be represented by this value, the None
is returned. Read more
fn from_i8(n: i8) -> Option<Self>
Convert an i8
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_i16(n: i16) -> Option<Self>
Convert an i16
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_i32(n: i32) -> Option<Self>
Convert an i32
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_usize(n: usize) -> Option<Self>
Convert a usize
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_u8(n: u8) -> Option<Self>
Convert an u8
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_u16(n: u16) -> Option<Self>
Convert an u16
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_u32(n: u32) -> Option<Self>
Convert an u32
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_f32(n: f32) -> Option<Self>
Convert a f32
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more
fn from_f64(n: f64) -> Option<Self>
Convert a f64
to return an optional value of this type. If the type cannot be represented by this value, the None
is returned. Read more