pub enum QKeyCode {
Show 150 variants unmapped, shift, shift_r, alt, alt_r, ctrl, ctrl_r, menu, 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, bracket_left, bracket_right, ret, a, s, d, f, g, h, j, k, l, semicolon, apostrophe, grave_accent, backslash, z, x, c, v, b, n, m, comma, dot, slash, asterisk, spc, caps_lock, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, num_lock, scroll_lock, kp_divide, kp_multiply, kp_subtract, kp_add, kp_enter, kp_decimal, sysrq, kp_0, kp_1, kp_2, kp_3, kp_4, kp_5, kp_6, kp_7, kp_8, kp_9, less, f11, f12, print, home, pgup, pgdn, end, left, up, down, right, insert, delete, stop, again, props, undo, front, copy, open, paste, find, cut, lf, help, meta_l, meta_r, compose, pause, ro, hiragana, henkan, yen, muhenkan, katakanahiragana, kp_comma, kp_equals, power, sleep, wake, audionext, audioprev, audiostop, audioplay, audiomute, volumeup, volumedown, mediaselect, mail, calculator, computer, ac_home, ac_back, ac_forward, ac_refresh, ac_bookmarks, lang1, lang2,
}

Variants

unmapped

shift

shift_r

alt

alt_r

ctrl

ctrl_r

menu

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

bracket_left

bracket_right

ret

a

s

d

f

g

h

j

k

l

semicolon

apostrophe

grave_accent

backslash

z

x

c

v

b

n

m

comma

dot

slash

asterisk

spc

caps_lock

f1

f2

f3

f4

f5

f6

f7

f8

f9

f10

num_lock

scroll_lock

kp_divide

kp_multiply

kp_subtract

kp_add

kp_enter

kp_decimal

sysrq

kp_0

kp_1

kp_2

kp_3

kp_4

kp_5

kp_6

kp_7

kp_8

kp_9

less

f11

f12

print

home

pgup

pgdn

end

left

up

down

right

insert

delete

stop

again

props

undo

front

copy

open

paste

find

cut

lf

help

meta_l

meta_r

compose

pause

ro

hiragana

henkan

yen

muhenkan

katakanahiragana

kp_comma

kp_equals

power

sleep

wake

audionext

audioprev

audiostop

audioplay

audiomute

volumeup

volumedown

mediaselect

mail

calculator

computer

ac_home

ac_back

ac_forward

ac_refresh

ac_bookmarks

lang1

lang2

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Converts to this type from the input type.

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Feeds this value into the given Hasher. Read more

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

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

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

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.