Skip to main content

MassDensity

Type Alias MassDensity 

pub type MassDensity<U, V> = Quantity<dyn Dimension<M = PInt<UInt<UTerm, B1>>, J = Z0, I = Z0, L = NInt<UInt<UInt<UTerm, B1>, B1>>, Th = Z0, T = Z0, Kind = dyn Kind, N = Z0>, U, V>;
Expand description

Mass density (base unit kilogram per cubic meter, kg · m⁻³).

§Generic Parameters

  • U: Base units.
  • V: Underlying storage type.

Aliased Type§

#[repr(transparent)]
pub struct MassDensity<U, V> { pub dimension: PhantomData<dyn Dimension<M = PInt<UInt<UTerm, B1>>, J = Z0, I = Z0, L = NInt<UInt<UInt<UTerm, B1>, B1>>, Th = Z0, T = Z0, Kind = dyn Kind, N = Z0>>, pub units: PhantomData<U>, pub value: V, }

Fields§

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

Quantity dimension. See [Dimension].

§units: PhantomData<U>

Quantity base units. See [Units].

§value: V

Quantity value stored in the base units for the quantity.