pub trait Unit:
FloatConversion<Float = f32>
+ Add<Output = Self>
+ Sub<Output = Self>
+ Div<Output = Self>
+ Mul<Output = Self>
+ Rem<Output = Self>
+ AddAssign
+ SubAssign
+ DivAssign
+ MulAssign
+ RemAssign
+ Zero
+ Ord
+ Eq
+ Copy
+ Default
+ Debug
+ IntoSigned
+ TryInto<i32>
+ 'static { }Expand description
A type that can be used as a Unit in figures.
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.