pub trait PlotValue:
Sealed
+ Copy
+ PartialOrd
+ Num
+ ToPrimitive
+ 'static { }Expand description
A number a ScaleLinear and the charts built on it can place: f32,
f64, and rust_decimal::Decimal with the decimal feature.
Sealed: integer types are left out on purpose, because a linear scale divides values and integer division would truncate every position.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".