Struct android_ffi::Motion [] [src]

pub struct Motion {
    pub action: MotionAction,
    pub pointer_id: i32,
    pub x: f32,
    pub y: f32,
}

Data about a motion event.

Fields

Trait Implementations

impl Clone for Motion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Motion
[src]

impl Debug for Motion
[src]

Formats the value using the given formatter.