Struct fermium::events::SDL_MultiGestureEvent
source · #[repr(C)]pub struct SDL_MultiGestureEvent {
pub type_: SDL_EventType,
pub timestamp: u32,
pub touchId: SDL_TouchID,
pub dTheta: c_float,
pub dDist: c_float,
pub x: c_float,
pub y: c_float,
pub numFingers: u16,
pub padding: u16,
}
Expand description
Multiple Finger Gesture Event (event.mgesture.*)
Fields§
§type_: SDL_EventType
Should always be SDL_MULTIGESTURE
timestamp: u32
In milliseconds, populated using SDL_GetTicks
.
touchId: SDL_TouchID
The touch device id
dTheta: c_float
§dDist: c_float
§x: c_float
§y: c_float
§numFingers: u16
§padding: u16
Trait Implementations§
source§impl Clone for SDL_MultiGestureEvent
impl Clone for SDL_MultiGestureEvent
source§fn clone(&self) -> SDL_MultiGestureEvent
fn clone(&self) -> SDL_MultiGestureEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SDL_MultiGestureEvent
impl Debug for SDL_MultiGestureEvent
source§impl Default for SDL_MultiGestureEvent
impl Default for SDL_MultiGestureEvent
source§fn default() -> SDL_MultiGestureEvent
fn default() -> SDL_MultiGestureEvent
Returns the “default value” for a type. Read more
source§impl PartialEq<SDL_MultiGestureEvent> for SDL_MultiGestureEvent
impl PartialEq<SDL_MultiGestureEvent> for SDL_MultiGestureEvent
source§fn eq(&self, other: &SDL_MultiGestureEvent) -> bool
fn eq(&self, other: &SDL_MultiGestureEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_MultiGestureEvent> for SDL_MultiGestureEvent
impl PartialOrd<SDL_MultiGestureEvent> for SDL_MultiGestureEvent
source§fn partial_cmp(&self, other: &SDL_MultiGestureEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_MultiGestureEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more