pub trait Interpolate:
Copy
+ Debug
+ Default
+ 'static {
// Required methods
fn to_f64(self) -> f64;
fn from_f64(val: f64) -> Self;
}
Expand description
Trait for numeric types that can be interpolated
Required 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.