Struct sdl2_sys::SDL_JoyDeviceEvent [] [src]

#[repr(C)]
pub struct SDL_JoyDeviceEvent { pub type_: Uint32, pub timestamp: Uint32, pub which: Sint32, }

\brief Joystick device event structure (event.jdevice.*)

Fields

< ::SDL_JOYDEVICEADDED or ::SDL_JOYDEVICEREMOVED

< The joystick device index for the ADDED event, instance id for the REMOVED event

Trait Implementations

impl Debug for SDL_JoyDeviceEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_JoyDeviceEvent
[src]

impl Clone for SDL_JoyDeviceEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more