Type Alias Density
pub type Density<U, V> = Quantity<dyn Dimension<I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, Kind = dyn Kind, T = Z0, J = Z0, L = NInt<UInt<UInt<UTerm, B1>, B1>>, N = Z0>, U, V>;👎Deprecated since 0.23.0:
Please use the more descriptive MassDensity instead.
Expand description
Mass density (base unit kilogram per cubic meter, kg · m⁻³).
Aliased Type§
#[repr(transparent)]pub struct Density<U, V> {
pub dimension: PhantomData<dyn Dimension<I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, Kind = dyn Kind, T = Z0, J = Z0, L = NInt<UInt<UInt<UTerm, B1>, B1>>, N = Z0>>,
pub units: PhantomData<U>,
pub value: V,
}Fields§
§dimension: PhantomData<dyn Dimension<I = Z0, Th = Z0, M = PInt<UInt<UTerm, B1>>, Kind = dyn Kind, T = Z0, J = Z0, L = NInt<UInt<UInt<UTerm, B1>, B1>>, N = Z0>>Quantity dimension. See [Dimension].
units: PhantomData<U>Quantity base units. See [Units].
value: VQuantity value stored in the base units for the quantity.