Skip to main content

ElectricPotential

Type Alias ElectricPotential 

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

Electric potential (base unit volt, m² · kg · s⁻³ · A⁻¹).

§Generic Parameters

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

Aliased Type§

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

Fields§

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

Quantity dimension. See [Dimension].

§units: PhantomData<U>

Quantity base units. See [Units].

§value: V

Quantity value stored in the base units for the quantity.