pub trait Interpolatable{
// Provided method
fn interpolate(&self, _other: &Self, _t: f64) -> Self { ... }
}
Provided Methods§
fn interpolate(&self, _other: &Self, _t: f64) -> Self
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.