RawPointerPoint
struct · ferroui-base · v0.5.0
struct RawPointerPoint
The position and pen state of a raw pointer event.
Members
position
position: crate::Point
Pointer position, in client DIPs.
twist
twist: f32
pressure
pressure: f32
x_tilt
x_tilt: f32
y_tilt
y_tilt: f32
new
fn new() -> Self
Creates a raw pointer point at the origin with default pressure.
contact_rect
fn contact_rect(self: &Self) -> Rect
The contact rectangle of the pointer; an empty rectangle at the pointer position unless set.
set_contact_rect
fn set_contact_rect(self: &mut Self, value: Rect)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.