FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RangeBaseValueChangedEventArgs

    struct · ferroui-controls · v0.5.0

    struct RangeBaseValueChangedEventArgs
    

    Provides data specific to a RangeBase::value_changed event.

    View source

    Members

    new

    fn new<T: ?Sized>(old_value: f64, new_value: f64, routed_event: Option<&RoutedEvent<T>>) -> Self
    

    Creates the args from the old and the new value of the range value property and the routed event associated with the args.

    Source

    with_source

    fn with_source<T: ?Sized>(old_value: f64, new_value: f64, routed_event: Option<&RoutedEvent<T>>, source: impl Into<Nullable<FerroObject>>) -> Self
    

    Creates the args from the old and the new value of the range value property, the routed event associated with the args and the source object that raised the routed event.

    Source

    old_value

    fn old_value(self: &Self) -> f64
    

    The old value of the range value property.

    Source

    new_value

    fn new_value(self: &Self) -> f64
    

    The new value of the range value property.

    Source

    Trait implementations

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

    Availability

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