Struct sdl2_sys::SDL_MouseMotionEvent [] [src]

#[repr(C)]
pub struct SDL_MouseMotionEvent { pub type_: Uint32, pub timestamp: Uint32, pub windowID: Uint32, pub which: Uint32, pub state: Uint32, pub x: Sint32, pub y: Sint32, pub xrel: Sint32, pub yrel: Sint32, }

\brief Mouse motion event structure (event.motion.*)

Fields

< ::SDL_MOUSEMOTION

< The window with mouse focus, if any

< The mouse instance id, or SDL_TOUCH_MOUSEID

< The current button state

< X coordinate, relative to window

< Y coordinate, relative to window

< The relative motion in the X direction

< The relative motion in the Y direction

Trait Implementations

impl Debug for SDL_MouseMotionEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_MouseMotionEvent
[src]

impl Clone for SDL_MouseMotionEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more