Skip to main content

ElectricPotential

Type Alias ElectricPotential 

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

Fields§

§dimension: PhantomData<dyn Dimension<Kind = dyn Kind, I = NInt<UInt<UTerm, B1>>, Th = Z0, T = NInt<UInt<UInt<UTerm, B1>, B1>>, J = Z0, M = PInt<UInt<UTerm, B1>>, N = 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.