pub struct ArkUI_CoastingAxisEvent { /* private fields */ }Available on crate features
api-12 and api-22 only.Expand description
Defines the coasting axis event. When a user swipes with two fingers on the touchpad, the system constructs sliding events based on the speed at the moment the fingers are lifted according to a certain decay curve. You can listen for such events to handle the flick effect immediately after the regular axis events.
It only can be received when user flings on the touchpad with two fingers and any components register
NODE_ON_COASTING_AXIS_EVENT through [registerNodeEvent] exist under the pointer location.
Available since API-level: 22
Auto Trait Implementations§
impl Freeze for ArkUI_CoastingAxisEvent
impl RefUnwindSafe for ArkUI_CoastingAxisEvent
impl Send for ArkUI_CoastingAxisEvent
impl Sync for ArkUI_CoastingAxisEvent
impl Unpin for ArkUI_CoastingAxisEvent
impl UnsafeUnpin for ArkUI_CoastingAxisEvent
impl UnwindSafe for ArkUI_CoastingAxisEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more