Struct pointer_types::PointerEvent
source · [−]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: EventType
screen_x: i32
screen_y: i32
client_x: i32
client_y: i32
ctrl_key: bool
shift_key: bool
alt_key: bool
meta_key: bool
pointer_id: i32
width: f32
height: f32
pressure: f32
tangential_pressure: f32
tilt_x: i32
tilt_y: i32
twist: i32
pointer_type: PointerType
is_primary: bool
Auto Trait Implementations
impl RefUnwindSafe for PointerEvent
impl Send for PointerEvent
impl Sync for PointerEvent
impl Unpin for PointerEvent
impl UnwindSafe for PointerEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more