#[repr(u32)]
pub enum InputButton {
Show 64 variants Key0 = 48, Key1 = 49, Key2 = 50, Key3 = 51, Key4 = 52, Key5 = 53, Key6 = 54, Key7 = 55, Key8 = 56, Key9 = 57, A = 65, B = 66, C = 67, D = 68, E = 69, F = 70, G = 71, H = 72, I = 73, J = 74, K = 75, L = 76, M = 77, N = 78, O = 79, P = 80, Q = 81, R = 82, S = 83, T = 84, U = 85, V = 86, W = 87, X = 88, Y = 89, Z = 90, NonPrintable = 256, Divide = 257, Multiply = 258, Subtract = 259, Plus = 260, F1 = 261, F2 = 262, F3 = 263, F4 = 264, F5 = 265, F6 = 266, F7 = 267, F8 = 268, F9 = 269, F10 = 270, F11 = 271, F12 = 272, Home = 273, End = 274, Insert = 275, Delete = 276, PageUp = 277, PageDn = 278, Backspace = 279, Tab = 280, PrtScrn = 281, Pause = 282, Max = 283,
}
Expand description

User input key codes.

Variants§

§

Key0 = 48

The ‘0’ key over the letters.

§

Key1 = 49

The ‘1’ key over the letters.

§

Key2 = 50

The ‘2’ key over the letters.

§

Key3 = 51

The ‘3’ key over the letters.

§

Key4 = 52

The ‘4’ key over the letters.

§

Key5 = 53

The ‘5’ key over the letters.

§

Key6 = 54

The ‘6’ key over the letters.

§

Key7 = 55

The ‘7’ key over the letters.

§

Key8 = 56

The ‘8’ key over the letters.

§

Key9 = 57

The ‘9’ key over the letters.

§

A = 65

§

B = 66

§

C = 67

§

D = 68

§

E = 69

§

F = 70

§

G = 71

§

H = 72

§

I = 73

§

J = 74

§

K = 75

§

L = 76

§

M = 77

§

N = 78

§

O = 79

§

P = 80

§

Q = 81

§

R = 82

§

S = 83

§

T = 84

§

U = 85

§

V = 86

§

W = 87

§

X = 88

§

Y = 89

§

Z = 90

§

NonPrintable = 256

Leave the rest of the ASCII range free, in case the RenderDoc developers decide to use it later.

§

Divide = 257

Division key on the numpad.

§

Multiply = 258

Multiplication key on the numpad.

§

Subtract = 259

Subtraction key on the numpad.

§

Plus = 260

Addition key on the numpad.

§

F1 = 261

§

F2 = 262

§

F3 = 263

§

F4 = 264

§

F5 = 265

§

F6 = 266

§

F7 = 267

§

F8 = 268

§

F9 = 269

§

F10 = 270

§

F11 = 271

§

F12 = 272

§

Home = 273

§

End = 274

§

Insert = 275

§

Delete = 276

§

PageUp = 277

§

PageDn = 278

§

Backspace = 279

§

Tab = 280

§

PrtScrn = 281

§

Pause = 282

§

Max = 283

Trait Implementations§

source§

impl Clone for InputButton

source§

fn clone(&self) -> InputButton

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
source§

impl Debug for InputButton

source§

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

Formats the value using the given formatter. Read more
source§

impl From<VirtualKeyCode> for InputButton

source§

fn from(code: VirtualKeyCode) -> InputButton

Converts to this type from the input type.
source§

impl Hash for InputButton

source§

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

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
source§

impl PartialEq for InputButton

source§

fn eq(&self, other: &InputButton) -> 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.
source§

impl Copy for InputButton

source§

impl Eq for InputButton

source§

impl StructuralPartialEq for InputButton

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where 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 T
where 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 T
where 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.