pub trait AxisValue:
Copy
+ PartialOrd
+ Display {
// Required methods
fn to_f32(self) -> f32;
fn from_f32(value: f32) -> Self;
fn nice_step(range: Self) -> Self;
fn format(&self) -> String<16>;
}Expand description
Trait for types that can be used as axis values
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.