FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ScrollEventArgs

    struct · ferroui-controls · v0.5.0

    struct ScrollEventArgs
    

    Provides data for the scroll event of a ScrollBar.

    View source

    Members

    new

    fn new(event_type: ScrollEventType, new_value: f64) -> Self
    

    Source

    new_value

    fn new_value(self: &Self) -> f64
    

    The new value of the scroll bar.

    Source

    scroll_event_type

    fn scroll_event_type(self: &Self) -> ScrollEventType
    

    The type of the scroll event.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq

    Availability

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