heim_common::units

Type Alias Time

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

Quantity type alias using the default base units.

Aliased Type§

struct Time {
    pub dimension: PhantomData<dyn Dimension<I = Z0, Kind = dyn Kind, N = Z0, T = PInt<UInt<UTerm, B1>>, L = Z0, Th = Z0, M = Z0, J = Z0>>,
    pub units: PhantomData<dyn Units<f64, mass = kilogram, luminous_intensity = candela, electric_current = ampere, thermodynamic_temperature = kelvin, amount_of_substance = mole, length = meter, time = second>>,
    pub value: f64,
}

Fields§

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

Quantity dimension. See Dimension.

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

Quantity base units. See Units.

§value: f64

Quantity value stored in the base units for the quantity.