FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Animation

    struct · ferroui-livecharts · v0.5.0

    struct Animation
    

    View source

    Members

    duration

    duration: f64
    

    Milliseconds, on the caller's monotonic clock.

    Source

    easing_function

    easing_function: Option<crate::easing_functions::EasingFunction>
    

    None disables interpolation and snaps to the target.

    Source

    repeat_times

    repeat_times: Repeat
    

    Source

    new

    fn new(duration: f64, easing: impl Fn(f64) -> f64 + 'static) -> Self
    

    Source

    with_repeat

    fn with_repeat(self: Self, repeat: Repeat) -> Self
    

    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
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Default
    • Debug

    Availability

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