Skip to main content

Length

Type Alias Length 

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

Length (base unit meter, m).

§Generic Parameters

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

Aliased Type§

#[repr(transparent)]
pub struct Length<U, V> { pub dimension: PhantomData<dyn Dimension<T = Z0, L = PInt<UInt<UTerm, B1>>, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn Kind>>, pub units: PhantomData<U>, pub value: V, }

Fields§

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

Quantity dimension. See [Dimension].

§units: PhantomData<U>

Quantity base units. See [Units].

§value: V

Quantity value stored in the base units for the quantity.