InkPointerEventArgs
struct · ferroui-controls-inking · v0.5.0
struct InkPointerEventArgs
Device-independent input; coordinates are in the canvas's local DIPs.
handled is shared through synchronous callback delivery.
Members
pointer_iddevice_typepointis_barrel_button_pressedis_eraseris_right_button_pressednewhandledset_handled
pointer_id
pointer_id: i32
device_type
device_type: ferroui_base::input::PointerType
point
point: super::InkPoint
is_barrel_button_pressed
is_barrel_button_pressed: bool
is_eraser
is_eraser: bool
is_right_button_pressed
is_right_button_pressed: bool
new
fn new(pointer_id: i32, device_type: PointerType, point: InkPoint) -> Self
handled
fn handled(self: &Self) -> bool
set_handled
fn set_handled(self: &Self, value: bool)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherIUnknownImplMarkupTypedCloneDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.