Struct sdl2_sys::SDL_Keysym [] [src]

#[repr(C)]
pub struct SDL_Keysym { pub scancode: SDL_Scancode, pub sym: SDL_Keycode, pub mod_: Uint16, pub unused: Uint32, }

\brief The SDL keysym structure, used in key events.

\note If you are looking for translated character input, see the ::SDL_TEXTINPUT event.

Fields

< SDL physical key code - see ::SDL_Scancode for details

< SDL virtual key code - see ::SDL_Keycode for details

< current key modifiers

Trait Implementations

impl Debug for SDL_Keysym
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_Keysym
[src]

impl Clone for SDL_Keysym
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more