SwipeGestureEndedEventArgs
struct · ferroui-base · v0.5.0
struct SwipeGestureEndedEventArgs
Provides data for the swipe gesture ended event.
Members
new
fn new(id: i32, velocity: Vector) -> Self
Creates swipe gesture ended event args.
id is the unique identifier for this gesture and velocity the
swipe velocity at release in pixels per second.
id
fn id(self: &Self) -> i32
The unique identifier for this gesture sequence.
velocity
fn velocity(self: &Self) -> Vector
The swipe velocity at release in pixels per second.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyToOwnedErasedDestructorIntoEitherCloneDerefIRoutedEventArgsMarkupTyped
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.