Struct sdl2_sys::SDL_UserEvent [] [src]

#[repr(C)]
pub struct SDL_UserEvent { pub type_: Uint32, pub timestamp: Uint32, pub windowID: Uint32, pub code: Sint32, pub data1: *mut c_void, pub data2: *mut c_void, }

\brief A user-defined event type (event.user.*)

Fields

< ::SDL_USEREVENT through ::SDL_LASTEVENT-1

< The associated window if any

< User defined event code

< User defined data pointer

< User defined data pointer

Trait Implementations

impl Debug for SDL_UserEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_UserEvent
[src]

impl Clone for SDL_UserEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more