heim_common::units::frequency

Type Alias Frequency

Source
pub type Frequency<U, V> = Quantity<dyn Dimension<Th = Z0, I = Z0, N = Z0, Kind = dyn Kind, L = Z0, M = Z0, J = Z0, T = NInt<UInt<UTerm, B1>>>, 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<Th = Z0, I = Z0, N = Z0, Kind = dyn Kind, L = Z0, M = Z0, J = Z0, T = NInt<UInt<UTerm, B1>>>>,
    pub units: PhantomData<U>,
    pub value: V,
}

Fields§

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

Quantity dimension. See Dimension.

§units: PhantomData<U>

Quantity base units. See Units.

§value: V

Quantity value stored in the base units for the quantity.