BlurEffectAnimator
struct · ferroui-base · v0.5.0
struct BlurEffectAnimator
Animator that interpolates blur effects. Values that are not blur effects are not interpolated.
Members
new
fn new() -> Self
interpolate_blur
fn interpolate_blur(progress: f64, old_value: &dyn IBlurEffect, new_value: &dyn IBlurEffect) -> ImmutableBlurEffect
Interpolates between two blur effects using the specified progress.
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.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeIAnimatorClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyErasedDestructorIntoEitherDefaultAnimator
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.