pub trait Transitionable: VarValue {
// Required method
fn lerp(self, to: &Self, step: EasingStep) -> Self;
}
Expand description
Required Methods§
Sourcefn lerp(self, to: &Self, step: EasingStep) -> Self
fn lerp(self, to: &Self, step: EasingStep) -> Self
Sample the linear interpolation from self
-> to
by step
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.