Skip to main content

Current

Struct Current 

Source
pub struct Current<T: NumLike> {
    pub A: T,
}
Expand description

The electrical current unit type, defined as amperes in SI units

Fields§

§A: T

The value of this Electrical current in amperes

Implementations§

Source§

impl<T> Current<T>
where T: NumLike,

Source

pub fn unit_name() -> &'static str

Returns the standard unit name of electrical current: “amperes”

Source

pub fn unit_symbol() -> &'static str

Returns the abbreviated name or symbol of electrical current: “A” for amperes

Source

pub fn from_A(A: T) -> Self

Returns a new electrical current value from the given number of amperes

§Arguments
  • A - Any number-like type, representing a quantity of amperes
Source

pub fn to_A(&self) -> T

Returns a copy of this electrical current value in amperes

Source

pub fn from_amps(amps: T) -> Self

Returns a new electrical current value from the given number of amperes

§Arguments
  • amps - Any number-like type, representing a quantity of amperes
Source

pub fn to_amps(&self) -> T

Returns a copy of this electrical current value in amperes

Source§

impl<T> Current<T>
where T: NumLike + From<f64>,

Source

pub fn to_mA(&self) -> T

Returns a copy of this electrical current value in milliamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

Source

pub fn from_mA(mA: T) -> Self

Returns a new electrical current value from the given number of milliamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

§Arguments
  • mA - Any number-like type, representing a quantity of milliamperes
Source

pub fn to_uA(&self) -> T

Returns a copy of this electrical current value in microamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

Source

pub fn from_uA(uA: T) -> Self

Returns a new electrical current value from the given number of microamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

§Arguments
  • uA - Any number-like type, representing a quantity of microamperes
Source

pub fn to_nA(&self) -> T

Returns a copy of this electrical current value in nanoamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

Source

pub fn from_nA(nA: T) -> Self

Returns a new electrical current value from the given number of nanoamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

§Arguments
  • nA - Any number-like type, representing a quantity of nanoamperes
Source

pub fn to_kA(&self) -> T

Returns a copy of this electrical current value in kiloamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

Source

pub fn from_kA(kA: T) -> Self

Returns a new electrical current value from the given number of kiloamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

§Arguments
  • kA - Any number-like type, representing a quantity of kiloamperes
Source

pub fn to_MA(&self) -> T

Returns a copy of this electrical current value in megaamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

Source

pub fn from_MA(MA: T) -> Self

Returns a new electrical current value from the given number of megaamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

§Arguments
  • MA - Any number-like type, representing a quantity of megaamperes
Source

pub fn to_GA(&self) -> T

Returns a copy of this electrical current value in gigaamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

Source

pub fn from_GA(GA: T) -> Self

Returns a new electrical current value from the given number of gigaamperes

Note: This method is not available for f32 and other number types lacking the From<f64> trait

§Arguments
  • GA - Any number-like type, representing a quantity of gigaamperes

Trait Implementations§

Source§

impl<T: NumLike> Add for &Current<T>

Adding two unit values of the same type returns a new unit value of the same type (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<T: NumLike> Add for Current<T>

Adding two unit values of the same type returns a new unit value of the same type

Source§

type Output = Current<T>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl<T: NumLike> AddAssign for Current<T>

Adds the given unit value to this unit value

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl<T: Clone + NumLike> Clone for Current<T>

Source§

fn clone(&self) -> Current<T>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug + NumLike> Debug for Current<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T> Display for Current<T>
where T: NumLike,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T> Div<&Charge<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Charge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Charge<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Charge<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Charge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Charge<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Conductance<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Conductance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Conductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Conductance<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Conductance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Conductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &Charge<T>
where T: NumLike,

Dividing a Charge by a Current returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &Conductance<T>
where T: NumLike,

Dividing a Conductance by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &Energy<T>
where T: NumLike,

Dividing a Energy by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &Frequency<T>
where T: NumLike,

Dividing a Frequency by a Current returns a value of type InverseCharge

Source§

type Output = InverseCharge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &InverseInductance<T>
where T: NumLike,

Dividing a InverseInductance by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &InverseMagneticFlux<T>
where T: NumLike,

Dividing a InverseMagneticFlux by a Current returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &InverseVoltage<T>
where T: NumLike,

Dividing a InverseVoltage by a Current returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &MagneticFlux<T>
where T: NumLike,

Dividing a MagneticFlux by a Current returns a value of type Inductance

Source§

type Output = Inductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &Power<T>
where T: NumLike,

Dividing a Power by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &Torque<T>
where T: NumLike,

Dividing a Torque by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &Voltage<T>
where T: NumLike,

Dividing a Voltage by a Current returns a value of type Resistance

Source§

type Output = Resistance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &f32
where T: NumLike + From<f32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &f64
where T: NumLike + From<f64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &i32
where T: NumLike + From<i32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for &i64
where T: NumLike + From<i64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for Charge<T>
where T: NumLike,

Dividing a Charge by a Current returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for Conductance<T>
where T: NumLike,

Dividing a Conductance by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for Energy<T>
where T: NumLike,

Dividing a Energy by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for Frequency<T>
where T: NumLike,

Dividing a Frequency by a Current returns a value of type InverseCharge

Source§

type Output = InverseCharge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for InverseInductance<T>
where T: NumLike,

Dividing a InverseInductance by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for InverseMagneticFlux<T>
where T: NumLike,

Dividing a InverseMagneticFlux by a Current returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for InverseVoltage<T>
where T: NumLike,

Dividing a InverseVoltage by a Current returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for MagneticFlux<T>
where T: NumLike,

Dividing a MagneticFlux by a Current returns a value of type Inductance

Source§

type Output = Inductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for Power<T>
where T: NumLike,

Dividing a Power by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for Torque<T>
where T: NumLike,

Dividing a Torque by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for Voltage<T>
where T: NumLike,

Dividing a Voltage by a Current returns a value of type Resistance

Source§

type Output = Resistance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for f32
where T: NumLike + From<f32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for f64
where T: NumLike + From<f64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for i32
where T: NumLike + From<i32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Current<T>> for i64
where T: NumLike + From<i64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Energy<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Energy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Energy<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Energy<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Energy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Energy<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Frequency<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Frequency returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Frequency<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Frequency<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Frequency returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Frequency<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&InverseInductance<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a InverseInductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &InverseInductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&InverseInductance<T>> for Current<T>
where T: NumLike,

Dividing a Current by a InverseInductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &InverseInductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&InverseMagneticFlux<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a InverseMagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &InverseMagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&InverseMagneticFlux<T>> for Current<T>
where T: NumLike,

Dividing a Current by a InverseMagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &InverseMagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&InverseVoltage<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a InverseVoltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &InverseVoltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&InverseVoltage<T>> for Current<T>
where T: NumLike,

Dividing a Current by a InverseVoltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &InverseVoltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&MagneticFlux<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a MagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &MagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&MagneticFlux<T>> for Current<T>
where T: NumLike,

Dividing a Current by a MagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &MagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Power<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Power returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Power<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Power<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Power returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Power<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&T> for &Current<T>
where T: NumLike,

Dividing a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &T) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&T> for Current<T>
where T: NumLike,

Dividing a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &T) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Torque<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Torque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Torque<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Torque<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Torque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Torque<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Voltage<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Voltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Voltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<&Voltage<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Voltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Voltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Charge<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Charge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Charge<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Charge<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Charge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Charge<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Conductance<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Conductance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Conductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Conductance<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Conductance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Conductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &Charge<T>
where T: NumLike,

Dividing a Charge by a Current returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &Conductance<T>
where T: NumLike,

Dividing a Conductance by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &Energy<T>
where T: NumLike,

Dividing a Energy by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &Frequency<T>
where T: NumLike,

Dividing a Frequency by a Current returns a value of type InverseCharge

Source§

type Output = InverseCharge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &InverseInductance<T>
where T: NumLike,

Dividing a InverseInductance by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &InverseMagneticFlux<T>
where T: NumLike,

Dividing a InverseMagneticFlux by a Current returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &InverseVoltage<T>
where T: NumLike,

Dividing a InverseVoltage by a Current returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &MagneticFlux<T>
where T: NumLike,

Dividing a MagneticFlux by a Current returns a value of type Inductance

Source§

type Output = Inductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &Power<T>
where T: NumLike,

Dividing a Power by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &Torque<T>
where T: NumLike,

Dividing a Torque by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &Voltage<T>
where T: NumLike,

Dividing a Voltage by a Current returns a value of type Resistance

Source§

type Output = Resistance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &f32
where T: NumLike + From<f32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &f64
where T: NumLike + From<f64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &i32
where T: NumLike + From<i32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for &i64
where T: NumLike + From<i64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for Charge<T>
where T: NumLike,

Dividing a Charge by a Current returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for Conductance<T>
where T: NumLike,

Dividing a Conductance by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for Energy<T>
where T: NumLike,

Dividing a Energy by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for Frequency<T>
where T: NumLike,

Dividing a Frequency by a Current returns a value of type InverseCharge

Source§

type Output = InverseCharge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for InverseInductance<T>
where T: NumLike,

Dividing a InverseInductance by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for InverseMagneticFlux<T>
where T: NumLike,

Dividing a InverseMagneticFlux by a Current returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for InverseVoltage<T>
where T: NumLike,

Dividing a InverseVoltage by a Current returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for MagneticFlux<T>
where T: NumLike,

Dividing a MagneticFlux by a Current returns a value of type Inductance

Source§

type Output = Inductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for Power<T>
where T: NumLike,

Dividing a Power by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for Torque<T>
where T: NumLike,

Dividing a Torque by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for Voltage<T>
where T: NumLike,

Dividing a Voltage by a Current returns a value of type Resistance

Source§

type Output = Resistance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for f32
where T: NumLike + From<f32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for f64
where T: NumLike + From<f64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for i32
where T: NumLike + From<i32>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Current<T>> for i64
where T: NumLike + From<i64>,

Dividing a scalar value by a Current unit value returns a value of type InverseCurrent

Source§

type Output = InverseCurrent<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Current<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Energy<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Energy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Energy<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Energy<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Energy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Energy<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Frequency<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Frequency returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Frequency<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Frequency<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Frequency returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Frequency<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<InverseInductance<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a InverseInductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: InverseInductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<InverseInductance<T>> for Current<T>
where T: NumLike,

Dividing a Current by a InverseInductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: InverseInductance<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<InverseMagneticFlux<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a InverseMagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: InverseMagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<InverseMagneticFlux<T>> for Current<T>
where T: NumLike,

Dividing a Current by a InverseMagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: InverseMagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<InverseVoltage<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a InverseVoltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: InverseVoltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<InverseVoltage<T>> for Current<T>
where T: NumLike,

Dividing a Current by a InverseVoltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: InverseVoltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<MagneticFlux<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a MagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: MagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<MagneticFlux<T>> for Current<T>
where T: NumLike,

Dividing a Current by a MagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: MagneticFlux<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Power<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Power returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Power<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Power<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Power returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Power<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: NumLike> Div<T> for &Current<T>

Dividing a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: T) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: NumLike> Div<T> for Current<T>

Dividing a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: T) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Torque<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Torque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Torque<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Torque<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Torque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Torque<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Voltage<T>> for &Current<T>
where T: NumLike,

Dividing a Current by a Voltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Voltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T> Div<Voltage<T>> for Current<T>
where T: NumLike,

Dividing a Current by a Voltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Voltage<T>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: NumLike> Div for &Current<T>

Dividing a unit value by another of the same type returns a scalar value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = T

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: NumLike> Div for Current<T>

Dividing a unit value by another of the same type returns a scalar value

Source§

type Output = T

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Self) -> Self::Output

Performs the / operation. Read more
Source§

impl<T: NumLike> DivAssign<T> for Current<T>

Divides this unit value by a scalar

Source§

fn div_assign(&mut self, rhs: T)

Performs the /= operation. Read more
Source§

impl<T> Hash for Current<T>
where T: NumLike + Hash,

This struct implements the Hash trait if it’s member data type also has the Hash trait

Source§

fn hash<H: Hasher>(&self, hasher: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<T> Mul<&Current<T>> for &Inductance<T>
where T: NumLike,

Multiplying a Inductance by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &InverseCharge<T>
where T: NumLike,

Multiplying a InverseCharge by a Current returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &InverseEnergy<T>
where T: NumLike,

Multiplying a InverseEnergy by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &InverseMagneticFlux<T>
where T: NumLike,

Multiplying a InverseMagneticFlux by a Current returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &InversePower<T>
where T: NumLike,

Multiplying a InversePower by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &InverseTorque<T>
where T: NumLike,

Multiplying a InverseTorque by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &InverseVoltage<T>
where T: NumLike,

Multiplying a InverseVoltage by a Current returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &MagneticFlux<T>
where T: NumLike,

Multiplying a MagneticFlux by a Current returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &Resistance<T>
where T: NumLike,

Multiplying a Resistance by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &Time<T>
where T: NumLike,

Multiplying a Time by a Current returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for &Voltage<T>
where T: NumLike,

Multiplying a Voltage by a Current returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for Inductance<T>
where T: NumLike,

Multiplying a Inductance by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for InverseCharge<T>
where T: NumLike,

Multiplying a InverseCharge by a Current returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for InverseEnergy<T>
where T: NumLike,

Multiplying a InverseEnergy by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for InverseMagneticFlux<T>
where T: NumLike,

Multiplying a InverseMagneticFlux by a Current returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for InversePower<T>
where T: NumLike,

Multiplying a InversePower by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for InverseTorque<T>
where T: NumLike,

Multiplying a InverseTorque by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for InverseVoltage<T>
where T: NumLike,

Multiplying a InverseVoltage by a Current returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for MagneticFlux<T>
where T: NumLike,

Multiplying a MagneticFlux by a Current returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for Resistance<T>
where T: NumLike,

Multiplying a Resistance by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for Time<T>
where T: NumLike,

Multiplying a Time by a Current returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for Voltage<T>
where T: NumLike,

Multiplying a Voltage by a Current returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for f32
where T: NumLike + From<f32>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for f64
where T: NumLike + From<f64>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for i16
where T: NumLike + From<i16>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for i32
where T: NumLike + From<i32>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for i64
where T: NumLike + From<i64>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for i8
where T: NumLike + From<i8>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for u16
where T: NumLike + From<u16>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for u32
where T: NumLike + From<u32>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for u64
where T: NumLike + From<u64>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Current<T>> for u8
where T: NumLike + From<u8>,

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Inductance<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Inductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Inductance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Inductance<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Inductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Inductance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseCharge<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseCharge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseCharge<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseCharge<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseCharge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseCharge<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseEnergy<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseEnergy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseEnergy<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseEnergy<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseEnergy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseEnergy<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseMagneticFlux<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseMagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseMagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseMagneticFlux<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseMagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseMagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InversePower<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InversePower returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InversePower<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InversePower<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InversePower returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InversePower<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseTorque<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseTorque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseTorque<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseTorque<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseTorque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseTorque<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseVoltage<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseVoltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseVoltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseVoltage<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseVoltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &InverseVoltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&MagneticFlux<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a MagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &MagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&MagneticFlux<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a MagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &MagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Resistance<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Resistance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Resistance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Resistance<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Resistance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Resistance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&T> for &Current<T>
where T: NumLike,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &T) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&T> for Current<T>
where T: NumLike,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &T) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Time<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Time returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Time<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Time<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Time returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Time<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Voltage<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Voltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Voltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<&Voltage<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Voltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Voltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &Inductance<T>
where T: NumLike,

Multiplying a Inductance by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &InverseCharge<T>
where T: NumLike,

Multiplying a InverseCharge by a Current returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &InverseEnergy<T>
where T: NumLike,

Multiplying a InverseEnergy by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &InverseMagneticFlux<T>
where T: NumLike,

Multiplying a InverseMagneticFlux by a Current returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &InversePower<T>
where T: NumLike,

Multiplying a InversePower by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &InverseTorque<T>
where T: NumLike,

Multiplying a InverseTorque by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &InverseVoltage<T>
where T: NumLike,

Multiplying a InverseVoltage by a Current returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &MagneticFlux<T>
where T: NumLike,

Multiplying a MagneticFlux by a Current returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &Resistance<T>
where T: NumLike,

Multiplying a Resistance by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &Time<T>
where T: NumLike,

Multiplying a Time by a Current returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for &Voltage<T>
where T: NumLike,

Multiplying a Voltage by a Current returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for Inductance<T>
where T: NumLike,

Multiplying a Inductance by a Current returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for InverseCharge<T>
where T: NumLike,

Multiplying a InverseCharge by a Current returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for InverseEnergy<T>
where T: NumLike,

Multiplying a InverseEnergy by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for InverseMagneticFlux<T>
where T: NumLike,

Multiplying a InverseMagneticFlux by a Current returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for InversePower<T>
where T: NumLike,

Multiplying a InversePower by a Current returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for InverseTorque<T>
where T: NumLike,

Multiplying a InverseTorque by a Current returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for InverseVoltage<T>
where T: NumLike,

Multiplying a InverseVoltage by a Current returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for MagneticFlux<T>
where T: NumLike,

Multiplying a MagneticFlux by a Current returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for Resistance<T>
where T: NumLike,

Multiplying a Resistance by a Current returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for Time<T>
where T: NumLike,

Multiplying a Time by a Current returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for Voltage<T>
where T: NumLike,

Multiplying a Voltage by a Current returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for f32
where T: NumLike + From<f32>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for f64
where T: NumLike + From<f64>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for i16
where T: NumLike + From<i16>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for i32
where T: NumLike + From<i32>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for i64
where T: NumLike + From<i64>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for i8
where T: NumLike + From<i8>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for u16
where T: NumLike + From<u16>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for u32
where T: NumLike + From<u32>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for u64
where T: NumLike + From<u64>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Current<T>> for u8
where T: NumLike + From<u8>,

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Current<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Inductance<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Inductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Inductance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Inductance<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Inductance returns a value of type MagneticFlux

Source§

type Output = MagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Inductance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseCharge<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseCharge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseCharge<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseCharge<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseCharge returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseCharge<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseEnergy<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseEnergy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseEnergy<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseEnergy<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseEnergy returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseEnergy<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseMagneticFlux<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseMagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseMagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseMagneticFlux<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseMagneticFlux returns a value of type InverseInductance

Source§

type Output = InverseInductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseMagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InversePower<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InversePower returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InversePower<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InversePower<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InversePower returns a value of type InverseVoltage

Source§

type Output = InverseVoltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InversePower<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseTorque<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseTorque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseTorque<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseTorque<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseTorque returns a value of type InverseMagneticFlux

Source§

type Output = InverseMagneticFlux<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseTorque<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseVoltage<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a InverseVoltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseVoltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<InverseVoltage<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a InverseVoltage returns a value of type Conductance

Source§

type Output = Conductance<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: InverseVoltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<MagneticFlux<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a MagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: MagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<MagneticFlux<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a MagneticFlux returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: MagneticFlux<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Resistance<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Resistance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Resistance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Resistance<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Resistance returns a value of type Voltage

Source§

type Output = Voltage<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Resistance<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: NumLike> Mul<T> for &Current<T>

Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: T) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: NumLike> Mul<T> for Current<T>

Multiplying a unit value by a scalar value returns a unit value

Source§

type Output = Current<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: T) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Time<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Time returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Time<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Time<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Time returns a value of type Charge

Source§

type Output = Charge<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Time<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Voltage<T>> for &Current<T>
where T: NumLike,

Multiplying a Current by a Voltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Voltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T> Mul<Voltage<T>> for Current<T>
where T: NumLike,

Multiplying a Current by a Voltage returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Voltage<T>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T: NumLike> MulAssign<T> for Current<T>

Multiplies this unit value by a scalar

Source§

fn mul_assign(&mut self, rhs: T)

Performs the *= operation. Read more
Source§

impl<T: NumLike> Neg for &Current<T>

Flips the sign of this unit value (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<T: NumLike> Neg for Current<T>

Flips the sign of this unit value

Source§

type Output = Current<T>

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl<T> Ord for Current<T>
where T: NumLike + Ord,

This struct implements the Ord trait if it’s member data type also has the Ord trait

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl<T> PartialEq for Current<T>
where T: NumLike + PartialEq,

This struct implements the PartialEq trait if it’s member data type also has the PartialEq trait

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
Source§

fn ne(&self, other: &Self) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T> PartialOrd for Current<T>
where T: NumLike + PartialOrd,

This struct implements the PartialOrd trait if it’s member data type also has the PartialOrd trait

Source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl<T: NumLike> Sub for &Current<T>

Subtracting two unit values of the same type returns a new unit value of the same type (automatically clones the referenced data for convenient ergonomics)

Source§

type Output = Current<T>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<T: NumLike> Sub for Current<T>

Subtracting two unit values of the same type returns a new unit value of the same type

Source§

type Output = Current<T>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl<T: NumLike> SubAssign for Current<T>

Subtracts the given unit value from this unit value

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl<T> Copy for Current<T>
where T: NumLike + Copy,

This struct implements the Copy marker trait if it’s member data type also has the Copy trait

Source§

impl<T> Eq for Current<T>
where T: NumLike + PartialEq + Eq,

This struct implements the core::cmp::Eq trait if it’s member data type also has the core::cmp::Eq trait

Auto Trait Implementations§

§

impl<T> Freeze for Current<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Current<T>
where T: RefUnwindSafe,

§

impl<T> Send for Current<T>
where T: Send,

§

impl<T> Sync for Current<T>
where T: Sync,

§

impl<T> Unpin for Current<T>
where T: Unpin,

§

impl<T> UnsafeUnpin for Current<T>
where T: UnsafeUnpin,

§

impl<T> UnwindSafe for Current<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.