pub trait Interpolate: Sized {
// Required method
fn interpolate(from: Self, to: Self, phase: f32) -> Self;
}Expand description
A value supporting linear interpolation and extrapolation.
Required Methods§
fn interpolate(from: Self, to: Self, phase: f32) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".