#[repr(i32)]
pub enum KeyName {
Show 115 variants ESC = 1, F1 = 59, F2 = 60, F3 = 61, F4 = 62, F5 = 63, F6 = 64, F7 = 65, F8 = 66, F9 = 67, F10 = 68, F11 = 87, F12 = 88, PRINT_SCREEN = 311, SCROLL_LOCK = 70, PAUSE_BREAK = 325, TILDE = 41, ONE = 2, TWO = 3, THREE = 4, FOUR = 5, FIVE = 6, SIX = 7, SEVEN = 8, EIGHT = 9, NINE = 10, ZERO = 11, MINUS = 12, EQUALS = 13, BACKSPACE = 14, INSERT = 338, HOME = 327, PAGE_UP = 329, NUM_LOCK = 69, NUM_SLASH = 309, NUM_ASTERISK = 55, NUM_MINUS = 74, TAB = 15, Q = 16, W = 17, E = 18, R = 19, T = 20, Y = 21, U = 22, I = 23, O = 24, P = 25, OPEN_BRACKET = 26, CLOSE_BRACKET = 27, BACKSLASH = 43, KEYBOARD_DELETE = 339, END = 335, PAGE_DOWN = 337, NUM_SEVEN = 71, NUM_EIGHT = 72, NUM_NINE = 73, NUM_PLUS = 78, CAPS_LOCK = 58, A = 30, S = 31, D = 32, F = 33, G = 34, H = 35, J = 36, K = 37, L = 38, SEMICOLON = 39, APOSTROPHE = 40, ENTER = 28, NUM_FOUR = 75, NUM_FIVE = 76, NUM_SIX = 77, LEFT_SHIFT = 42, Z = 44, X = 45, C = 46, V = 47, B = 48, N = 49, M = 50, COMMA = 51, PERIOD = 52, FORWARD_SLASH = 53, RIGHT_SHIFT = 54, ARROW_UP = 328, NUM_ONE = 79, NUM_TWO = 80, NUM_THREE = 81, NUM_ENTER = 284, LEFT_CONTROL = 29, LEFT_WINDOWS = 347, LEFT_ALT = 56, SPACE = 57, RIGHT_ALT = 312, RIGHT_WINDOWS = 348, APPLICATION_SELECT = 349, RIGHT_CONTROL = 285, ARROW_LEFT = 331, ARROW_DOWN = 336, ARROW_RIGHT = 333, NUM_ZERO = 82, NUM_PERIOD = 83, G_1 = 65_521, G_2 = 65_522, G_3 = 65_523, G_4 = 65_524, G_5 = 65_525, G_6 = 65_526, G_7 = 65_527, G_8 = 65_528, G_9 = 65_529, G_LOGO = 1_048_561, G_BADGE = 1_048_562,
}

Variants§

§

ESC = 1

§

F1 = 59

§

F2 = 60

§

F3 = 61

§

F4 = 62

§

F5 = 63

§

F6 = 64

§

F7 = 65

§

F8 = 66

§

F9 = 67

§

F10 = 68

§

F11 = 87

§

F12 = 88

§

PRINT_SCREEN = 311

§

SCROLL_LOCK = 70

§

PAUSE_BREAK = 325

§

TILDE = 41

§

ONE = 2

§

TWO = 3

§

THREE = 4

§

FOUR = 5

§

FIVE = 6

§

SIX = 7

§

SEVEN = 8

§

EIGHT = 9

§

NINE = 10

§

ZERO = 11

§

MINUS = 12

§

EQUALS = 13

§

BACKSPACE = 14

§

INSERT = 338

§

HOME = 327

§

PAGE_UP = 329

§

NUM_LOCK = 69

§

NUM_SLASH = 309

§

NUM_ASTERISK = 55

§

NUM_MINUS = 74

§

TAB = 15

§

Q = 16

§

W = 17

§

E = 18

§

R = 19

§

T = 20

§

Y = 21

§

U = 22

§

I = 23

§

O = 24

§

P = 25

§

OPEN_BRACKET = 26

§

CLOSE_BRACKET = 27

§

BACKSLASH = 43

§

KEYBOARD_DELETE = 339

§

END = 335

§

PAGE_DOWN = 337

§

NUM_SEVEN = 71

§

NUM_EIGHT = 72

§

NUM_NINE = 73

§

NUM_PLUS = 78

§

CAPS_LOCK = 58

§

A = 30

§

S = 31

§

D = 32

§

F = 33

§

G = 34

§

H = 35

§

J = 36

§

K = 37

§

L = 38

§

SEMICOLON = 39

§

APOSTROPHE = 40

§

ENTER = 28

§

NUM_FOUR = 75

§

NUM_FIVE = 76

§

NUM_SIX = 77

§

LEFT_SHIFT = 42

§

Z = 44

§

X = 45

§

C = 46

§

V = 47

§

B = 48

§

N = 49

§

M = 50

§

COMMA = 51

§

PERIOD = 52

§

FORWARD_SLASH = 53

§

RIGHT_SHIFT = 54

§

ARROW_UP = 328

§

NUM_ONE = 79

§

NUM_TWO = 80

§

NUM_THREE = 81

§

NUM_ENTER = 284

§

LEFT_CONTROL = 29

§

LEFT_WINDOWS = 347

§

LEFT_ALT = 56

§

SPACE = 57

§

RIGHT_ALT = 312

§

RIGHT_WINDOWS = 348

§

APPLICATION_SELECT = 349

§

RIGHT_CONTROL = 285

§

ARROW_LEFT = 331

§

ARROW_DOWN = 336

§

ARROW_RIGHT = 333

§

NUM_ZERO = 82

§

NUM_PERIOD = 83

§

G_1 = 65_521

§

G_2 = 65_522

§

G_3 = 65_523

§

G_4 = 65_524

§

G_5 = 65_525

§

G_6 = 65_526

§

G_7 = 65_527

§

G_8 = 65_528

§

G_9 = 65_529

§

G_BADGE = 1_048_562

Trait Implementations§

§

impl Clone for LogiLed_KeyName

§

fn clone(&self) -> LogiLed_KeyName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for LogiLed_KeyName

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Hash for LogiLed_KeyName

§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
§

impl PartialEq for LogiLed_KeyName

§

fn eq(&self, other: &LogiLed_KeyName) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for LogiLed_KeyName

§

impl Eq for LogiLed_KeyName

§

impl StructuralEq for LogiLed_KeyName

§

impl StructuralPartialEq for LogiLed_KeyName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.