Enum adi_gpu_base::Key [] [src]

#[repr(u8)]
pub enum Key { Num1, Num2, Num3, Num4, Num5, Num6, Num7, Num8, Num9, Num0, Minus, EqualSign, Backspace, Tab, Q, W, E, R, T, Y, U, I, O, P, BracketOpen, BracketClose, BackSlash, Compose, A, S, D, F, G, H, J, K, L, Semicolon, Apostrophe, Enter, LShift, Z, X, C, V, B, N, M, Comma, Period, Slash, RShift, LCtrl, Alt, Space, RCtrl, Up, Down, Left, Right, ExtBacktick, ExtDelete, ExtInsert, ExtNumLock, ExtPageUp, ExtPageDown, ExtHome, ExtEnd, ExtAsterisk, ExtPlus, ExtAltGr, }

This enum represents a physical key on a keyboard. There a 75 possible keys

Variants

1

2

3

4

5

6

7

8

9

0

-

=

Backspace

Tab

Q

W

E

R

T

Y

U

I

O

P

{

}

Backslash

Compose (CAPS LOCK)

A

S

D

F

G

H

J

K

L

;

'

Enter

Left Shift

Z

X

C

V

B

N

M

,

.

/

Right Shift

Left CTRL

Alt (Left)

Space

Right Control

Up Arrow Key

Down Arrow Key

Left Arrow Key

Right Arrow Key

`

Delete

Insert

NumLock

Page Up

Page Down

Home

End

*

+

AltGr (Right Alt)

Trait Implementations

impl Display for Key
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Key
[src]

impl Eq for Key
[src]

impl PartialEq<Key> for Key
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Clone for Key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Key

impl Sync for Key