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