heim_common::units::time

Type Alias Time

Source
pub type Time<U, V> = Quantity<dyn Dimension<J = Z0, Kind = dyn Kind, T = PInt<UInt<UTerm, B1>>, I = Z0, Th = Z0, L = Z0, N = Z0, M = Z0>, U, V>;
Expand description

Time (base unit second, s).

§Generic Parameters

  • U: Base units.
  • V: Underlying storage type.

Aliased Type§

struct Time<U, V> {
    pub dimension: PhantomData<dyn Dimension<J = Z0, Kind = dyn Kind, T = PInt<UInt<UTerm, B1>>, I = Z0, Th = Z0, L = Z0, N = Z0, M = Z0>>,
    pub units: PhantomData<U>,
    pub value: V,
}

Fields§

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

Quantity dimension. See Dimension.

§units: PhantomData<U>

Quantity base units. See Units.

§value: V

Quantity value stored in the base units for the quantity.