InterpolatingAnimator
trait · ferroui-base · v0.5.0
trait InterpolatingAnimator: 'static
The base of user-defined animators: an interpolation function for a value type.
Members
Value
type Value: PropertyValue + Default
The type of the values the animator interpolates, which is the value type of the properties it animates.
interpolate
fn interpolate(self: &Self, progress: f64, old_value: &<Self as >::Value, new_value: &<Self as >::Value) -> <Self as >::Value
Interpolates between two values using the specified progress.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.