Enum autogui::Key
[−]
[src]
pub enum Key { Backspace, Tab, Clear, Return, Pause, Escape, Space, Exclaim, DoubleQuote, Hash, Dollar, Ampersand, Quote, LeftParen, RightParen, Asterisk, Plus, Comma, Minus, Period, Slash, Colon, Semicolon, Less, Equals, Greater, Question, At, LeftBracket, Backslash, RightBracket, Caret, Underscore, Backquote, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, 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, Keypad0, Keypad1, Keypad2, Keypad3, Keypad4, Keypad5, Keypad6, Keypad7, Keypad8, Keypad9, KeypadPeriod, KeypadDivide, KeypadMultiply, KeypadMinus, KeypadPlus, KeypadEnter, KeypadEquals, Delete, Insert, Home, End, PageUp, PageDown, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, F16, F17, F18, F19, F20, NumLock, CapsLock, ScrolLock, LeftShift, RightShift, LeftCtrl, RightCtrl, LeftAlt, RightAlt, LeftMeta, RightMeta, LeftSuper, RightSuper, Mode, Fn, Help, Print, SysReq, Break, Menu, Power, VolumeUp, VolumeDown, VolumeMute, Euro, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, }
A non-virtual key code (e.g. Key::A produces "A")
Variants
Backspace
Tab
Clear
Return
Pause
Escape
Space
Exclaim
DoubleQuote
Hash
Dollar
Ampersand
Quote
LeftParen
RightParen
Asterisk
Plus
Comma
Minus
Period
Slash
Colon
Semicolon
Less
Equals
Greater
Question
At
LeftBracket
Backslash
RightBracket
Caret
Underscore
Backquote
_0
_1
_2
_3
_4
_5
_6
_7
_8
_9
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
Keypad0
Keypad1
Keypad2
Keypad3
Keypad4
Keypad5
Keypad6
Keypad7
Keypad8
Keypad9
KeypadPeriod
KeypadDivide
KeypadMultiply
KeypadMinus
KeypadPlus
KeypadEnter
KeypadEquals
Delete
Insert
Home
End
PageUp
PageDown
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
F16
F17
F18
F19
F20
NumLock
CapsLock
ScrolLock
LeftShift
RightShift
LeftCtrl
RightCtrl
LeftAlt
RightAlt
LeftMeta
RightMeta
LeftSuper
RightSuper
Mode
Fn
Help
Print
SysReq
Break
Menu
Power
VolumeUp
VolumeDown
VolumeMute
Euro
ArrowUp
ArrowDown
ArrowLeft
ArrowRight
Methods
impl Key
[src]
pub fn to_char(self) -> Option<char>
[src]
Character this key is supposed to produce
pub fn from_char(c: char) -> Option<Key>
[src]
Key is that produces this character
Trait Implementations
impl Debug for Key
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Key
[src]
fn clone(&self) -> Key
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more