pub trait Lerp: Copy {
// Required method
fn lerp(self, to: Self, t: f32) -> Self;
}Expand description
Values a Tween can interpolate.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<A: Lerp, B: Lerp> Lerp for (A, B)
Pairs blend componentwise on one shared eased clock — the natural shape
for two-stop color ramps.
impl<A: Lerp, B: Lerp> Lerp for (A, B)
Pairs blend componentwise on one shared eased clock — the natural shape for two-stop color ramps.