Skip to main content

Pressure

Type Alias Pressure 

Source
pub type Pressure = Pressure;
Expand description

Type for pressure measurements

Aliased Type§

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

Fields§

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

Quantity dimension. See [Dimension].

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

Quantity base units. See [Units].

§value: f32

Quantity value stored in the base units for the quantity.