FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RawMouseWheelEventArgs

    struct · ferroui-base · v0.5.0

    struct RawMouseWheelEventArgs
    

    A raw mouse wheel event.

    View source

    Members

    new

    fn new(device: Rc<dyn IInputDevice>, timestamp: u64, root: Rc<dyn IInputRoot>, position: Point, delta: Vector, input_modifiers: RawInputModifiers) -> Self
    

    Creates raw mouse 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>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ErasedDestructor
    • IntoEither
    • Deref
    • IRawInputEventArgs

    Availability

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