ColorAnimator
struct · ferroui-base · v0.5.0
struct ColorAnimator
Animator that interpolates Color properties in linear RGB space.
Members
new
fn new() -> Self
interpolate_core
fn interpolate_core(progress: f64, old_value: &Color, new_value: &Color) -> Color
Interpolates between two values 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.