FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DropShadowEffectAnimator

    struct · ferroui-base · v0.5.0

    struct DropShadowEffectAnimator
    

    Animator that interpolates drop shadow effects. Values that are not drop shadow effects are not interpolated.

    View source

    Members

    new

    fn new() -> Self
    

    Source

    interpolate_drop_shadow

    fn interpolate_drop_shadow(progress: f64, old_value: &dyn IDropShadowEffect, new_value: &dyn IDropShadowEffect) -> Rc<dyn IEffect>
    

    Interpolates between two drop shadow effects using the specified progress.

    Source

    interpolate_core

    fn interpolate_core(progress: f64, old_value: &Option<std::rc::Rc<dyn IEffect>>, new_value: &Option<std::rc::Rc<dyn IEffect>>) -> Option<std::rc::Rc<dyn IEffect>>
    

    Interpolates between two effects 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.