Enum libretro_sys::Key [−][src]
#[repr(C)]pub enum Key { Unknown, Backspace, Tab, Clear, Return, Pause, Escape, Space, ExclamationMark, DoubleQuotes, Hash, Dollar, Ampersand, Quote, LeftParen, RightParen, Asterisk, Plus, Comma, Minus, Period, Slash, Number_0, Number_1, Number_2, Number_3, Number_4, Number_5, Number_6, Number_7, Number_8, Number_9, Colon, Semicolon, Less, Equals, Greater, QuestionMark, At, LeftBracket, Backslash, RightBracket, Caret, Underscore, Backquote, 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, Delete, Kp0, Kp1, Kp2, Kp3, Kp4, Kp5, Kp6, Kp7, Kp8, Kp9, KpPeriod, KpDivide, KpMultiply, KpMinus, KpPlus, KpEnter, KpEquals, Up, Down, Right, Left, Insert, Home, End, PageUp, PageDown, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14, F15, Numlock, Capslock, Scrollock, RShift, LShift, RCtrl, LCtrl, RAlt, LAlt, RMeta, LMeta, LSuper, RSuper, Mode, Compose, Help, Print, Sysrq, Break, Menu, Power, Euro, Undo, }
Variants
Unknown
Backspace
Tab
Clear
Return
Pause
Escape
Space
ExclamationMark
DoubleQuotes
Hash
Dollar
Ampersand
Quote
LeftParen
RightParen
Asterisk
Plus
Comma
Minus
Period
Slash
Number_0
Number_1
Number_2
Number_3
Number_4
Number_5
Number_6
Number_7
Number_8
Number_9
Colon
Semicolon
Less
Equals
Greater
QuestionMark
At
LeftBracket
Backslash
RightBracket
Caret
Underscore
Backquote
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
Delete
Kp0
Kp1
Kp2
Kp3
Kp4
Kp5
Kp6
Kp7
Kp8
Kp9
KpPeriod
KpDivide
KpMultiply
KpMinus
KpPlus
KpEnter
KpEquals
Up
Down
Right
Left
Insert
Home
End
PageUp
PageDown
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
Numlock
Capslock
Scrollock
RShift
LShift
RCtrl
LCtrl
RAlt
LAlt
RMeta
LMeta
LSuper
RSuper
Mode
Compose
Help
Print
Sysrq
Break
Menu
Power
Euro
Undo
Methods
impl Key
[src]
impl Key
Trait Implementations
impl Copy for Key
[src]
impl Copy for Key
impl Clone for Key
[src]
impl Clone for Key
fn clone(&self) -> Key
[src]
fn clone(&self) -> Key
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Key
[src]
impl PartialEq for Key
fn eq(&self, other: &Key) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for Key
[src]
impl Eq for Key
impl PartialOrd for Key
[src]
impl PartialOrd for Key
fn partial_cmp(&self, other: &Key) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Key) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
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 more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Key
[src]
impl Ord for Key
fn cmp(&self, other: &Key) -> Ordering
[src]
fn cmp(&self, other: &Key) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl Hash for Key
[src]
impl Hash for Key
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Key
[src]
impl Debug for Key