#[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,
pub windowID: Uint32,
}Fields§
§type_: Uint32§timestamp: Uint32§touchId: SDL_TouchID§fingerId: SDL_FingerID§x: f32§y: f32§dx: f32§dy: f32§pressure: f32§windowID: Uint32Trait Implementations§
Source§impl Clone for SDL_TouchFingerEvent
impl Clone for SDL_TouchFingerEvent
Source§fn clone(&self) -> SDL_TouchFingerEvent
fn clone(&self) -> SDL_TouchFingerEvent
Returns a duplicate 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_TouchFingerEvent
impl Debug for SDL_TouchFingerEvent
impl Copy for SDL_TouchFingerEvent
Auto Trait Implementations§
impl Freeze for SDL_TouchFingerEvent
impl RefUnwindSafe for SDL_TouchFingerEvent
impl Send for SDL_TouchFingerEvent
impl Sync for SDL_TouchFingerEvent
impl Unpin for SDL_TouchFingerEvent
impl UnwindSafe for SDL_TouchFingerEvent
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