Trait Dimension
pub trait Dimension: Sealed + 'static {
const EXPONENTS: DimExponents;
}Description
Compile-time dimension marker.
Sealed: user-declared units resolve to these through the typeck layer;
runtime-only dimensions stay in DynQuantity.
Required Associated Constants§
const EXPONENTS: DimExponents
const EXPONENTS: DimExponents
The SI exponent vector of this dimension.
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.