#[repr(C)]pub struct SDL_ControllerTouchpadEvent {
pub type_: Uint32,
pub timestamp: Uint32,
pub which: SDL_JoystickID,
pub touchpad: Sint32,
pub finger: Sint32,
pub x: f32,
pub y: f32,
pub pressure: f32,
}Fields§
§type_: Uint32§timestamp: Uint32§which: SDL_JoystickID§touchpad: Sint32§finger: Sint32§x: f32§y: f32§pressure: f32Trait Implementations§
Source§impl Clone for SDL_ControllerTouchpadEvent
impl Clone for SDL_ControllerTouchpadEvent
Source§fn clone(&self) -> SDL_ControllerTouchpadEvent
fn clone(&self) -> SDL_ControllerTouchpadEvent
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_ControllerTouchpadEvent
impl Debug for SDL_ControllerTouchpadEvent
impl Copy for SDL_ControllerTouchpadEvent
Auto Trait Implementations§
impl Freeze for SDL_ControllerTouchpadEvent
impl RefUnwindSafe for SDL_ControllerTouchpadEvent
impl Send for SDL_ControllerTouchpadEvent
impl Sync for SDL_ControllerTouchpadEvent
impl Unpin for SDL_ControllerTouchpadEvent
impl UnwindSafe for SDL_ControllerTouchpadEvent
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