heim_common::units::frequency

Type Alias Frequency

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

Frequency (base unit hertz, s⁻¹).

§Generic Parameters

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

Aliased Type§

struct Frequency<U, V> {
    pub dimension: PhantomData<dyn Dimension<J = Z0, Kind = dyn Kind, T = NInt<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 = NInt<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.