Struct fermium::scancode::SDL_Scancode [−][src]
#[repr(transparent)]pub struct SDL_Scancode(pub i32);
Expand description
The SDL keyboard scancode representation.
This is used in places like the SDL_Keysym
struct for the “hardware” /
“physical” designation of a key.
The values in this enumeration are based on the USB usage page standard: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf
See all the constants named SDL_SCANCODE_*
Tuple Fields
0: i32
Trait Implementations
Returns the “default value” for a type. 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