pub trait MeasureSystem{
type N: NumTrait;
const DEBUG_UNIT: UnitFormat<'static, Self>;
}Expand description
The trait used to define a Measurement System
This defines two items for a given measure:
- What underlying Datatype is used (EX: f32, f64, etc)
- What unit should be used for debugging (only if the feature
stris used)
Required Associated Constants§
const DEBUG_UNIT: UnitFormat<'static, Self>
Required Associated Types§
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.