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
sourceimpl Clone for SDL_Finger
impl Clone for SDL_Finger
sourcefn clone(&self) -> SDL_Finger
fn clone(&self) -> SDL_Finger
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_Finger
Auto Trait Implementations
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
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