Skip to main content

Temperature

Type Alias Temperature 

Source
pub type Temperature = ThermodynamicTemperature;
Expand description

Type for temperature measurements

Aliased Type§

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

Fields§

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

Quantity dimension. See [Dimension].

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

Quantity base units. See [Units].

§value: f32

Quantity value stored in the base units for the quantity.