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
.
Object Safety§
This trait is not object safe.