FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PointerWheelEventArgs

    struct · ferroui-base · v0.5.0

    struct PointerWheelEventArgs
    

    Provides data for the pointer wheel changed event.

    View source

    Members

    new

    fn new(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 wheel event args.

    Source

    delta

    fn delta(self: &Self) -> Vector
    

    The amount the wheel was scrolled by.

    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.