pub type Energy = Quantity<dyn Dimension<Kind = dyn Kind, L = PInt<UInt<UInt<UTerm, B1>, B0>>, I = Z0, Th = Z0, N = Z0, M = PInt<UInt<UTerm, B1>>, T = NInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0>, dyn Units<f32, time = second, thermodynamic_temperature = kelvin, mass = kilogram, electric_current = ampere, length = meter, amount_of_substance = mole, luminous_intensity = candela>, f32>;
Expand description
Quantity
type alias using the default base units.
Aliased Type§
struct Energy {
pub dimension: PhantomData<dyn Dimension<Kind = dyn Kind, L = PInt<UInt<UInt<UTerm, B1>, B0>>, I = Z0, Th = Z0, N = Z0, M = PInt<UInt<UTerm, B1>>, T = NInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0>>,
pub units: PhantomData<dyn Units<f32, time = second, thermodynamic_temperature = kelvin, mass = kilogram, electric_current = ampere, length = meter, amount_of_substance = mole, luminous_intensity = candela>>,
pub value: f32,
}
Fields§
§dimension: PhantomData<dyn Dimension<Kind = dyn Kind, L = PInt<UInt<UInt<UTerm, B1>, B0>>, I = Z0, Th = Z0, N = Z0, M = PInt<UInt<UTerm, B1>>, T = NInt<UInt<UInt<UTerm, B1>, B0>>, J = Z0>>
Quantity dimension. See Dimension
.
units: PhantomData<dyn Units<f32, time = second, thermodynamic_temperature = kelvin, mass = kilogram, electric_current = ampere, length = meter, amount_of_substance = mole, luminous_intensity = candela>>
Quantity base units. See Units
.
value: f32
Quantity value stored in the base units for the quantity.