FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AnimatorTransitionObservable

    struct · ferroui-base · v0.5.0

    struct AnimatorTransitionObservable
    

    Transition observable based on an animator's interpolation: produces the values between old_value and new_value.

    View source

    Members

    create

    fn create<T: 'static>(interpolate: impl Fn(f64, &T, &T) -> T + 'static, progress: Rc<dyn IObservable<f64>>, easing: Easing, old_value: T, new_value: T) -> Rc<dyn IObservable<T>>
    

    Source

    Trait implementations

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

    Availability

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