Skip to main content

Force

Struct Force 

Source
pub struct Force<T: NumLike> {
    pub N: T,
}
Expand description

The force unit type, defined as newtons in SI units

Fields§

§N: T

The value of this Force in newtons

Implementations§

Source§

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

Source

pub fn unit_name() -> &'static str

Returns the standard unit name of force: “newtons”

Source

pub fn unit_symbol() -> &'static str

Returns the abbreviated name or symbol of force: “N” for newtons

Source

pub fn from_N(N: T) -> Self

Returns a new force value from the given number of newtons

§Arguments
  • N - Any number-like type, representing a quantity of newtons
Source

pub fn to_N(&self) -> T

Returns a copy of this force value in newtons

Source

pub fn from_newtons(newtons: T) -> Self

Returns a new force value from the given number of newtons

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

pub fn to_newtons(&self) -> T

Returns a copy of this force value in newtons

Source§

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

Source

pub fn to_lb(&self) -> T

Returns a copy of this force value in pounds

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

Source

pub fn from_lb(lb: T) -> Self

Returns a new force value from the given number of pounds

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

§Arguments
  • lb - Any number-like type, representing a quantity of pounds
Source

pub fn to_kgG(&self) -> T

Returns a copy of this force value in kilogram-force

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

Source

pub fn from_kgG(kgG: T) -> Self

Returns a new force value from the given number of kilogram-force

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

§Arguments
  • kgG - Any number-like type, representing a quantity of kilogram-force
Source

pub fn to_mN(&self) -> T

Returns a copy of this force value in millinewtons

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

Source

pub fn from_mN(mN: T) -> Self

Returns a new force value from the given number of millinewtons

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

§Arguments
  • mN - Any number-like type, representing a quantity of millinewtons
Source

pub fn to_uN(&self) -> T

Returns a copy of this force value in micronewtons

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

Source

pub fn from_uN(uN: T) -> Self

Returns a new force value from the given number of micronewtons

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

§Arguments
  • uN - Any number-like type, representing a quantity of micronewtons
Source

pub fn to_nN(&self) -> T

Returns a copy of this force value in nanonewtons

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

Source

pub fn from_nN(nN: T) -> Self

Returns a new force value from the given number of nanonewtons

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

§Arguments
  • nN - Any number-like type, representing a quantity of nanonewtons
Source

pub fn to_kN(&self) -> T

Returns a copy of this force value in kilonewtons

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

Source

pub fn from_kN(kN: T) -> Self

Returns a new force value from the given number of kilonewtons

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

§Arguments
  • kN - Any number-like type, representing a quantity of kilonewtons
Source

pub fn to_MN(&self) -> T

Returns a copy of this force value in meganewtons

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

Source

pub fn from_MN(MN: T) -> Self

Returns a new force value from the given number of meganewtons

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

§Arguments
  • MN - Any number-like type, representing a quantity of meganewtons
Source

pub fn to_GN(&self) -> T

Returns a copy of this force value in giganewtons

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

Source

pub fn from_GN(GN: T) -> Self

Returns a new force value from the given number of giganewtons

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

§Arguments
  • GN - Any number-like type, representing a quantity of giganewtons

Trait Implementations§

Source§

impl<T: NumLike> Add for &Force<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 = Force<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 Force<T>

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

Source§

type Output = Force<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 Force<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 Force<T>

Source§

fn clone(&self) -> Force<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 Force<T>

Source§

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

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

impl<T> Display for Force<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<&Acceleration<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Acceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Acceleration<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Acceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Area<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Area returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Area<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Area returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Energy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Dividing a Force by a Energy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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<&Force<T>> for &Acceleration<T>
where T: NumLike,

Dividing a Acceleration by a Force returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for &Area<T>
where T: NumLike,

Dividing a Area by a Force returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Frequency by a Force returns a value of type InverseMomentum

Source§

type Output = InverseMomentum<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for &InverseDistance<T>
where T: NumLike,

Dividing a InverseDistance by a Force returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for &Mass<T>
where T: NumLike,

Dividing a Mass by a Force returns a value of type InverseAcceleration

Source§

type Output = InverseAcceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for &Momentum<T>
where T: NumLike,

Dividing a Momentum by a Force returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Power by a Force returns a value of type Velocity

Source§

type Output = Velocity<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for &Pressure<T>
where T: NumLike,

Dividing a Pressure by a Force returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for &TimePerDistance<T>
where T: NumLike,

Dividing a TimePerDistance by a Force returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for Acceleration<T>
where T: NumLike,

Dividing a Acceleration by a Force returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for Area<T>
where T: NumLike,

Dividing a Area by a Force returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Frequency by a Force returns a value of type InverseMomentum

Source§

type Output = InverseMomentum<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for InverseDistance<T>
where T: NumLike,

Dividing a InverseDistance by a Force returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for Mass<T>
where T: NumLike,

Dividing a Mass by a Force returns a value of type InverseAcceleration

Source§

type Output = InverseAcceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for Momentum<T>
where T: NumLike,

Dividing a Momentum by a Force returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Power by a Force returns a value of type Velocity

Source§

type Output = Velocity<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for Pressure<T>
where T: NumLike,

Dividing a Pressure by a Force returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Force<T>> for TimePerDistance<T>
where T: NumLike,

Dividing a TimePerDistance by a Force returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Frequency returns a value of type Momentum

Source§

type Output = Momentum<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 Force<T>
where T: NumLike,

Dividing a Force by a Frequency returns a value of type Momentum

Source§

type Output = Momentum<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<&InverseDistance<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a InverseDistance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&InverseDistance<T>> for Force<T>
where T: NumLike,

Dividing a Force by a InverseDistance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Mass<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Mass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Mass<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Mass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Momentum<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Momentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Momentum<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Momentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Power returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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 Force<T>
where T: NumLike,

Dividing a Force by a Power returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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<&Pressure<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Pressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Pressure<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Pressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

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

Source§

type Output = Force<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 Force<T>
where T: NumLike,

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

Source§

type Output = Force<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<&TimePerDistance<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a TimePerDistance returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&TimePerDistance<T>> for Force<T>
where T: NumLike,

Dividing a Force by a TimePerDistance returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Torque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Dividing a Force by a Torque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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<Acceleration<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Acceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Acceleration<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Acceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Area<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Area returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Area<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Area returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Energy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Dividing a Force by a Energy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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<Force<T>> for &Acceleration<T>
where T: NumLike,

Dividing a Acceleration by a Force returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for &Area<T>
where T: NumLike,

Dividing a Area by a Force returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Frequency by a Force returns a value of type InverseMomentum

Source§

type Output = InverseMomentum<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for &InverseDistance<T>
where T: NumLike,

Dividing a InverseDistance by a Force returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for &Mass<T>
where T: NumLike,

Dividing a Mass by a Force returns a value of type InverseAcceleration

Source§

type Output = InverseAcceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for &Momentum<T>
where T: NumLike,

Dividing a Momentum by a Force returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Power by a Force returns a value of type Velocity

Source§

type Output = Velocity<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for &Pressure<T>
where T: NumLike,

Dividing a Pressure by a Force returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for &TimePerDistance<T>
where T: NumLike,

Dividing a TimePerDistance by a Force returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for Acceleration<T>
where T: NumLike,

Dividing a Acceleration by a Force returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for Area<T>
where T: NumLike,

Dividing a Area by a Force returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Frequency by a Force returns a value of type InverseMomentum

Source§

type Output = InverseMomentum<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for InverseDistance<T>
where T: NumLike,

Dividing a InverseDistance by a Force returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for Mass<T>
where T: NumLike,

Dividing a Mass by a Force returns a value of type InverseAcceleration

Source§

type Output = InverseAcceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for Momentum<T>
where T: NumLike,

Dividing a Momentum by a Force returns a value of type Time

Source§

type Output = Time<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Power by a Force returns a value of type Velocity

Source§

type Output = Velocity<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for Pressure<T>
where T: NumLike,

Dividing a Pressure by a Force returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Force<T>> for TimePerDistance<T>
where T: NumLike,

Dividing a TimePerDistance by a Force returns a value of type InversePower

Source§

type Output = InversePower<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Force returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Force unit value returns a value of type InverseForce

Source§

type Output = InverseForce<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Frequency returns a value of type Momentum

Source§

type Output = Momentum<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 Force<T>
where T: NumLike,

Dividing a Force by a Frequency returns a value of type Momentum

Source§

type Output = Momentum<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<InverseDistance<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a InverseDistance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<InverseDistance<T>> for Force<T>
where T: NumLike,

Dividing a Force by a InverseDistance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Mass<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Mass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Mass<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Mass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Momentum<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Momentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Momentum<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Momentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Power returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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 Force<T>
where T: NumLike,

Dividing a Force by a Power returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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<Pressure<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a Pressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Pressure<T>> for Force<T>
where T: NumLike,

Dividing a Force by a Pressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

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

Source§

type Output = Force<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 Force<T>

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

Source§

type Output = Force<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<TimePerDistance<T>> for &Force<T>
where T: NumLike,

Dividing a Force by a TimePerDistance returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<TimePerDistance<T>> for Force<T>
where T: NumLike,

Dividing a Force by a TimePerDistance returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Force by a Torque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Dividing a Force by a Torque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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: NumLike> Div for &Force<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 Force<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 Force<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 Force<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<&Distance<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a Distance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Distance<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a Distance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for &Distance<T>
where T: NumLike,

Multiplying a Distance by a Force returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for &InverseAcceleration<T>
where T: NumLike,

Multiplying a InverseAcceleration by a Force returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for &InverseArea<T>
where T: NumLike,

Multiplying a InverseArea by a Force returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for &InverseMass<T>
where T: NumLike,

Multiplying a InverseMass by a Force returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for &InverseMomentum<T>
where T: NumLike,

Multiplying a InverseMomentum by a Force returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InversePower by a Force returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for &InversePressure<T>
where T: NumLike,

Multiplying a InversePressure by a Force returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Time by a Force returns a value of type Momentum

Source§

type Output = Momentum<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for &Velocity<T>
where T: NumLike,

Multiplying a Velocity by a Force returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for Distance<T>
where T: NumLike,

Multiplying a Distance by a Force returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for InverseAcceleration<T>
where T: NumLike,

Multiplying a InverseAcceleration by a Force returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for InverseArea<T>
where T: NumLike,

Multiplying a InverseArea by a Force returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for InverseMass<T>
where T: NumLike,

Multiplying a InverseMass by a Force returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for InverseMomentum<T>
where T: NumLike,

Multiplying a InverseMomentum by a Force returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InversePower by a Force returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for InversePressure<T>
where T: NumLike,

Multiplying a InversePressure by a Force returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Time by a Force returns a value of type Momentum

Source§

type Output = Momentum<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<T>> for Velocity<T>
where T: NumLike,

Multiplying a Velocity by a Force returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Force<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 = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseAcceleration<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseAcceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseAcceleration<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseAcceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseArea<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseArea returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseArea<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseArea returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Force by a InverseEnergy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Multiplying a Force by a InverseEnergy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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<&InverseMass<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseMass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseMass<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseMass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseMomentum<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseMomentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseMomentum<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseMomentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Force by a InversePower returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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 Force<T>
where T: NumLike,

Multiplying a Force by a InversePower returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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<&InversePressure<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InversePressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InversePressure<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InversePressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Force by a InverseTorque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Multiplying a Force by a InverseTorque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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<&T> for &Force<T>
where T: NumLike,

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

Source§

type Output = Force<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 Force<T>
where T: NumLike,

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

Source§

type Output = Force<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 &Force<T>
where T: NumLike,

Multiplying a Force by a Time returns a value of type Momentum

Source§

type Output = Momentum<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 Force<T>
where T: NumLike,

Multiplying a Force by a Time returns a value of type Momentum

Source§

type Output = Momentum<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<&Velocity<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a Velocity returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Velocity<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a Velocity returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Distance<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a Distance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Distance<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a Distance returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for &Distance<T>
where T: NumLike,

Multiplying a Distance by a Force returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for &InverseAcceleration<T>
where T: NumLike,

Multiplying a InverseAcceleration by a Force returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for &InverseArea<T>
where T: NumLike,

Multiplying a InverseArea by a Force returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for &InverseMass<T>
where T: NumLike,

Multiplying a InverseMass by a Force returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for &InverseMomentum<T>
where T: NumLike,

Multiplying a InverseMomentum by a Force returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InversePower by a Force returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for &InversePressure<T>
where T: NumLike,

Multiplying a InversePressure by a Force returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Time by a Force returns a value of type Momentum

Source§

type Output = Momentum<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for &Velocity<T>
where T: NumLike,

Multiplying a Velocity by a Force returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for Distance<T>
where T: NumLike,

Multiplying a Distance by a Force returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for InverseAcceleration<T>
where T: NumLike,

Multiplying a InverseAcceleration by a Force returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for InverseArea<T>
where T: NumLike,

Multiplying a InverseArea by a Force returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for InverseMass<T>
where T: NumLike,

Multiplying a InverseMass by a Force returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for InverseMomentum<T>
where T: NumLike,

Multiplying a InverseMomentum by a Force returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InversePower by a Force returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for InversePressure<T>
where T: NumLike,

Multiplying a InversePressure by a Force returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Force returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Time by a Force returns a value of type Momentum

Source§

type Output = Momentum<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Force<T>> for Velocity<T>
where T: NumLike,

Multiplying a Velocity by a Force returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Force<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseAcceleration<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseAcceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseAcceleration<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseAcceleration returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseArea<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseArea returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseArea<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseArea returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Force by a InverseEnergy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Multiplying a Force by a InverseEnergy returns a value of type InverseDistance

Source§

type Output = InverseDistance<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<InverseMass<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseMass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseMass<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseMass returns a value of type Acceleration

Source§

type Output = Acceleration<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseMomentum<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InverseMomentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseMomentum<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InverseMomentum returns a value of type Frequency

Source§

type Output = Frequency<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Force by a InversePower returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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 Force<T>
where T: NumLike,

Multiplying a Force by a InversePower returns a value of type TimePerDistance

Source§

type Output = TimePerDistance<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<InversePressure<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a InversePressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InversePressure<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a InversePressure returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Force by a InverseTorque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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 Force<T>
where T: NumLike,

Multiplying a Force by a InverseTorque returns a value of type InverseDistance

Source§

type Output = InverseDistance<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: NumLike> Mul<T> for &Force<T>

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

Source§

type Output = Force<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 Force<T>

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

Source§

type Output = Force<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 &Force<T>
where T: NumLike,

Multiplying a Force by a Time returns a value of type Momentum

Source§

type Output = Momentum<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 Force<T>
where T: NumLike,

Multiplying a Force by a Time returns a value of type Momentum

Source§

type Output = Momentum<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<Velocity<T>> for &Force<T>
where T: NumLike,

Multiplying a Force by a Velocity returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Velocity<T>> for Force<T>
where T: NumLike,

Multiplying a Force by a Velocity returns a value of type Power

Source§

type Output = Power<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T: NumLike> MulAssign<T> for Force<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 &Force<T>

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

Source§

type Output = Force<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 Force<T>

Flips the sign of this unit value

Source§

type Output = Force<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 Force<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 Force<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 Force<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 &Force<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 = Force<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 Force<T>

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

Source§

type Output = Force<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 Force<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 Force<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 Force<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 Force<T>
where T: Freeze,

§

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

§

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

§

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

§

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

§

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

§

impl<T> UnwindSafe for Force<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.