Enum renderdoc::InputButton
source · #[repr(u32)]
pub enum InputButton {
Show 64 variants
Key0,
Key1,
Key2,
Key3,
Key4,
Key5,
Key6,
Key7,
Key8,
Key9,
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,
NonPrintable,
Divide,
Multiply,
Subtract,
Plus,
F1,
F2,
F3,
F4,
F5,
F6,
F7,
F8,
F9,
F10,
F11,
F12,
Home,
End,
Insert,
Delete,
PageUp,
PageDn,
Backspace,
Tab,
PrtScrn,
Pause,
Max,
}
Expand description
User input key codes.
Variants§
Key0
The ‘0’ key over the letters.
Key1
The ‘1’ key over the letters.
Key2
The ‘2’ key over the letters.
Key3
The ‘3’ key over the letters.
Key4
The ‘4’ key over the letters.
Key5
The ‘5’ key over the letters.
Key6
The ‘6’ key over the letters.
Key7
The ‘7’ key over the letters.
Key8
The ‘8’ key over the letters.
Key9
The ‘9’ key over the letters.
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
NonPrintable
Leave the rest of the ASCII range free, in case the RenderDoc developers decide to use it later.
Divide
Division key on the numpad.
Multiply
Multiplication key on the numpad.
Subtract
Subtraction key on the numpad.
Plus
Addition key on the numpad.
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
Home
End
Insert
Delete
PageUp
PageDn
Backspace
Tab
PrtScrn
Pause
Max
Trait Implementations§
source§impl Clone for InputButton
impl Clone for InputButton
source§fn clone(&self) -> InputButton
fn clone(&self) -> InputButton
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InputButton
impl Debug for InputButton
source§impl From<VirtualKeyCode> for InputButton
impl From<VirtualKeyCode> for InputButton
source§fn from(code: VirtualKeyCode) -> InputButton
fn from(code: VirtualKeyCode) -> InputButton
Converts to this type from the input type.
source§impl Hash for InputButton
impl Hash for InputButton
source§impl PartialEq<InputButton> for InputButton
impl PartialEq<InputButton> for InputButton
source§fn eq(&self, other: &InputButton) -> bool
fn eq(&self, other: &InputButton) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.