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