FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PointerDeltaEventArgs

    struct · ferroui-base · v0.5.0

    struct PointerDeltaEventArgs
    

    Provides data for the touchpad gesture events (magnify, rotate, swipe).

    View source

    Members

    new

    fn new<T: ?Sized>(routed_event: Option<&RoutedEvent<T>>, source: impl Into<Nullable<FerroObject>>, pointer: Rc<dyn IPointer>, root_visual: &Visual, root_visual_position: Point, timestamp: u64, properties: PointerPointProperties, modifiers: KeyModifiers, delta: Vector) -> Self
    

    Creates pointer delta event args.

    Source

    delta

    fn delta(self: &Self) -> Vector
    

    The amount of the gesture.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Deref
    • IRoutedEventArgs
    • MarkupTyped

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.