Skip to main content

Mass

Type Alias Mass 

Source
pub type Mass = Quantity<dyn Dimension<Th = Z0, M = PInt<UInt<UTerm, B1>>, L = Z0, I = Z0, T = Z0, Kind = dyn Kind, J = Z0, N = Z0>, dyn Units<f64, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin>, f64>;
Expand description

Quantity type alias using the default base units.

Aliased Type§

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

Fields§

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

Quantity dimension. See [Dimension].

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

Quantity base units. See [Units].

§value: f64

Quantity value stored in the base units for the quantity.