pub trait LogScalable: Clone {
// Required methods
fn as_f64(&self) -> f64;
fn from_f64(f: f64) -> Self;
}
Expand description
The trait for the type that is able to be presented in the log scale. This trait is primarily used by LogRangeExt.
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.