TouchDevice
struct · ferroui-base · v0.5.0
struct TouchDevice
Handles raw touch events.
This class is supposed to be used on per-toplevel basis; don't use a shared one.
Members
new
fn new() -> Rc<TouchDevice>
Creates a touch device.
dispose
fn dispose(self: &Self)
Releases the device and its pointers.
platform_capture_lost
fn platform_capture_lost(self: &Self)
Notifies the device that the capture of its pointers was lost in the platform.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherIInputDeviceIPointerDevice
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.