Struct sdl2_sys::SDL_Finger
source · #[repr(C)]pub struct SDL_Finger {
pub id: SDL_FingerID,
pub x: f32,
pub y: f32,
pub pressure: f32,
}
Fields§
§id: SDL_FingerID
§x: f32
§y: f32
§pressure: f32
Trait Implementations§
source§impl Clone for SDL_Finger
impl Clone for SDL_Finger
source§fn clone(&self) -> SDL_Finger
fn clone(&self) -> SDL_Finger
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_Finger
Auto Trait Implementations§
impl Freeze for SDL_Finger
impl RefUnwindSafe for SDL_Finger
impl Send for SDL_Finger
impl Sync for SDL_Finger
impl Unpin for SDL_Finger
impl UnwindSafe for SDL_Finger
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