pub trait EQSupported<T: PrimInt>:
PrimInt
+ Display
+ ConstZero
+ ConstOne
+ SignHelper<T>
+ TryInto<i64>
+ TryInto<i128>
+ TryInto<u64>
+ TryInto<u128> {
const EXPONENT_BASE: T;
}
Expand description
Marker trait indicating that a type is supported as a storage type for EngineeringQuantity
.
Required Associated Constants§
Sourceconst EXPONENT_BASE: T
const EXPONENT_BASE: T
Always 1000 (used internally)
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.