Type Alias Finger

pub type Finger = SDL_Finger;
Available on crate feature dep_sdl3 only.

Aliased Type§

struct Finger {
    pub id: u64,
    pub x: f32,
    pub y: f32,
    pub pressure: f32,
}

Fields§

§id: u64

the finger ID

§x: f32

the x-axis location of the touch event, normalized (0…1)

§y: f32

the y-axis location of the touch event, normalized (0…1)

§pressure: f32

the quantity of pressure applied, normalized (0…1)

Trait Implementations

§

impl Clone for 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)

Performs copy-assignment from source. Read more
§

impl Default for SDL_Finger

§

fn default() -> SDL_Finger

Returns the “default value” for a type. Read more
§

impl Copy for SDL_Finger