Skip to main content

Length

Type Alias Length 

Source
pub type Length = Length;
Expand description

Length in SI metres.

Aliased Type§

#[repr(transparent)]
pub struct Length { pub dimension: PhantomData<dyn Dimension<Kind = dyn Kind, I = Z0, N = Z0, L = PInt<UInt<UTerm, B1>>, J = Z0, M = Z0, T = Z0, Th = Z0>>, pub units: PhantomData<dyn Units<f64, time = second, amount_of_substance = mole, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, luminous_intensity = candela>>, pub value: f64, }

Fields§

§dimension: PhantomData<dyn Dimension<Kind = dyn Kind, I = Z0, N = Z0, L = PInt<UInt<UTerm, B1>>, J = Z0, M = Z0, T = Z0, Th = Z0>>

Quantity dimension. See [Dimension].

§units: PhantomData<dyn Units<f64, time = second, amount_of_substance = mole, electric_current = ampere, length = meter, mass = kilogram, thermodynamic_temperature = kelvin, luminous_intensity = candela>>

Quantity base units. See [Units].

§value: f64

Quantity value stored in the base units for the quantity.