Struct fermium::touch::SDL_Finger
source · #[repr(C)]pub struct SDL_Finger {
pub id: SDL_FingerID,
pub x: c_float,
pub y: c_float,
pub pressure: c_float,
}
Expand description
Info for a finger object.
Fields§
§id: SDL_FingerID
§x: c_float
§y: c_float
§pressure: c_float
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 moresource§impl Debug for SDL_Finger
impl Debug for SDL_Finger
source§impl Default for SDL_Finger
impl Default for SDL_Finger
source§fn default() -> SDL_Finger
fn default() -> SDL_Finger
Returns the “default value” for a type. Read more
source§impl PartialEq<SDL_Finger> for SDL_Finger
impl PartialEq<SDL_Finger> for SDL_Finger
source§fn eq(&self, other: &SDL_Finger) -> bool
fn eq(&self, other: &SDL_Finger) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_Finger> for SDL_Finger
impl PartialOrd<SDL_Finger> for SDL_Finger
source§fn partial_cmp(&self, other: &SDL_Finger) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_Finger) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more