pub struct PointerEvent {
Show 21 fields pub event_type: EventType, pub screen_x: i32, pub screen_y: i32, pub client_x: i32, pub client_y: i32, pub ctrl_key: bool, pub shift_key: bool, pub alt_key: bool, pub meta_key: bool, pub button: u16, pub buttons: u16, pub pointer_id: i32, pub width: f32, pub height: f32, pub pressure: f32, pub tangential_pressure: f32, pub tilt_x: i32, pub tilt_y: i32, pub twist: i32, pub pointer_type: PointerType, pub is_primary: bool,
}

Fields

event_type: EventTypescreen_x: i32screen_y: i32client_x: i32client_y: i32ctrl_key: boolshift_key: boolalt_key: boolmeta_key: boolbutton: u16buttons: u16pointer_id: i32width: f32height: f32pressure: f32tangential_pressure: f32tilt_x: i32tilt_y: i32twist: i32pointer_type: PointerTypeis_primary: bool

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.