Struct sdl2_sys::SDL_TouchFingerEvent [] [src]

#[repr(C)]
pub struct SDL_TouchFingerEvent { pub type_: Uint32, pub timestamp: Uint32, pub touchId: SDL_TouchID, pub fingerId: SDL_FingerID, pub x: f32, pub y: f32, pub dx: f32, pub dy: f32, pub pressure: f32, }

\brief Touch finger event structure (event.tfinger.*)

Fields

< ::SDL_FINGERMOTION or ::SDL_FINGERDOWN or ::SDL_FINGERUP

< The touch device id

< Normalized in the range 0...1

< Normalized in the range 0...1

< Normalized in the range -1...1

< Normalized in the range -1...1

< Normalized in the range 0...1

Trait Implementations

impl Debug for SDL_TouchFingerEvent
[src]

[src]

Formats the value using the given formatter.

impl Copy for SDL_TouchFingerEvent
[src]

impl Clone for SDL_TouchFingerEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more