pub trait Lerpable: Sized {
// Required method
fn lerp_unchecked(self, dest: Self, coef: float) -> Self;
// Provided method
fn lerp(self, dest: Self, coef: float) -> Self { ... }
}Required Methods§
Sourcefn lerp_unchecked(self, dest: Self, coef: float) -> Self
fn lerp_unchecked(self, dest: Self, coef: float) -> Self
Not restricted between [0..1]
Provided Methods§
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.