Ratio

Type Alias Ratio 

Source
pub type Ratio = Quantity<dyn Dimension<I = Z0, Th = Z0, L = Z0, Kind = dyn Kind, M = Z0, T = Z0, J = Z0, N = Z0>, dyn Units<f32, length = meter, luminous_intensity = candela, amount_of_substance = mole, time = second, electric_current = ampere, mass = kilogram, thermodynamic_temperature = kelvin>, f32>;
Expand description

Quantity type alias using the default base units.

Aliased Type§

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

Fields§

§dimension: PhantomData<dyn Dimension<I = Z0, Th = Z0, L = Z0, Kind = dyn Kind, M = Z0, T = Z0, J = Z0, N = Z0>>

Quantity dimension. See Dimension.

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

Quantity base units. See Units.

§value: f32

Quantity value stored in the base units for the quantity.