Struct sdl2_sys::SDL_MultiGestureEvent
source · #[repr(C)]pub struct SDL_MultiGestureEvent {
pub type_: Uint32,
pub timestamp: Uint32,
pub touchId: SDL_TouchID,
pub dTheta: f32,
pub dDist: f32,
pub x: f32,
pub y: f32,
pub numFingers: Uint16,
pub padding: Uint16,
}
Expand description
\brief Multiple Finger Gesture Event (event.mgesture.*)
Fields§
§type_: Uint32
< ::SDL_MULTIGESTURE
timestamp: Uint32
< In milliseconds, populated using SDL_GetTicks()
touchId: SDL_TouchID
< The touch device id
dTheta: f32
§dDist: f32
§x: f32
§y: f32
§numFingers: Uint16
§padding: Uint16
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 moreimpl Copy for SDL_MultiGestureEvent
Auto Trait Implementations§
impl Freeze for SDL_MultiGestureEvent
impl RefUnwindSafe for SDL_MultiGestureEvent
impl Send for SDL_MultiGestureEvent
impl Sync for SDL_MultiGestureEvent
impl Unpin for SDL_MultiGestureEvent
impl UnwindSafe for SDL_MultiGestureEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more