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
sourceimpl Clone for SDL_MultiGestureEvent
impl Clone for SDL_MultiGestureEvent
sourcefn clone(&self) -> SDL_MultiGestureEvent
fn clone(&self) -> SDL_MultiGestureEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for SDL_MultiGestureEvent
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more