pub type Length = Length<SI<V>, V>;
Expand description
Quantity
type alias using the default base units.
Aliased Type§
struct Length {
pub dimension: PhantomData<dyn Dimension<L = PInt<UInt<UTerm, B1>>, T = Z0, Th = Z0, I = Z0, M = Z0, N = Z0, J = Z0, Kind = dyn Kind>>,
pub units: PhantomData<dyn Units<u16, time = second, luminous_intensity = candela, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, length = meter>>,
pub value: u16,
}
Fields§
§dimension: PhantomData<dyn Dimension<L = PInt<UInt<UTerm, B1>>, T = Z0, Th = Z0, I = Z0, M = Z0, N = Z0, J = Z0, Kind = dyn Kind>>
Quantity dimension. See Dimension
.
units: PhantomData<dyn Units<u16, time = second, luminous_intensity = candela, electric_current = ampere, thermodynamic_temperature = kelvin, mass = kilogram, amount_of_substance = mole, length = meter>>
Quantity base units. See Units
.
value: u16
Quantity value stored in the base units for the quantity.