FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DoubleAnimator

    struct · ferroui-base · v0.5.0

    struct DoubleAnimator
    

    Animator that handles f64 properties.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    interpolate_core

    fn interpolate_core(progress: f64, old_value: &f64, new_value: &f64) -> f64
    

    Interpolates between two values using the specified progress.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • IAnimator
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither
    • Default
    • Animator

    Availability

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