Div

Struct Div 

Source
pub struct Div<T, U>(pub T, pub PhantomData<U>);

Tuple Fields§

§0: T§1: PhantomData<U>

Implementations§

Source§

impl<T, U> Div<T, U>
where T: Unit, U: Unit,

Source

pub fn multiply(self, other: U) -> T

Source§

impl<T, U> Div<T, Mul<U, U>>
where T: Unit, U: Unit,

Source

pub fn integrate(self, other: U) -> Div<T, U>

Trait Implementations§

Source§

impl<T, U> Add for Div<T, U>
where T: Add<T, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the + operator.
Source§

fn add(self, other: Div<T, U>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T: Clone, U: Clone> Clone for Div<T, U>

Source§

fn clone(&self) -> Div<T, U>

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl<T, U> Debug for Div<T, U>
where T: Unit + UnitName, U: UnitName,

Source§

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

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

impl<T, U> Div<AU> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<AU, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: AU) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Celsius> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Celsius, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Celsius) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Centigram> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Centigram, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Centigram) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Centimeter> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Centimeter, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Centimeter) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Century> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Century, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Century) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Day> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Day, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Day) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Decade> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Decade, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Decade) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for AU
where T: Unit,

Source§

type Output = Div<AU, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Celsius
where T: Unit,

Source§

type Output = Div<Celsius, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Centigram
where T: Unit,

Source§

type Output = Div<Centigram, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Centimeter
where T: Unit,

Source§

type Output = Div<Centimeter, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Century
where T: Unit,

Source§

type Output = Div<Century, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Day
where T: Unit,

Source§

type Output = Div<Day, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Decade
where T: Unit,

Source§

type Output = Div<Decade, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U, W, X> Div<Div<T, U>> for Div<W, X>
where W: Copy + Unit, T: Copy + Unit,

Source§

type Output = Mul<W, Div<U, Mul<T, X>>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Fahrenheit
where T: Unit,

Source§

type Output = Div<Fahrenheit, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Femtometer
where T: Unit,

Source§

type Output = Div<Femtometer, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Foot
where T: Unit,

Source§

type Output = Div<Foot, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Gram
where T: Unit,

Source§

type Output = Div<Gram, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Hour
where T: Unit,

Source§

type Output = Div<Hour, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Inch
where T: Unit,

Source§

type Output = Div<Inch, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Kelvin
where T: Unit,

Source§

type Output = Div<Kelvin, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Kilogram
where T: Unit,

Source§

type Output = Div<Kilogram, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Kilometer
where T: Unit,

Source§

type Output = Div<Kilometer, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Lightyear
where T: Unit,

Source§

type Output = Div<Lightyear, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Meter
where T: Unit,

Source§

type Output = Div<Meter, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Micrometer
where T: Unit,

Source§

type Output = Div<Micrometer, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Mile
where T: Unit,

Source§

type Output = Div<Mile, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Millennium
where T: Unit,

Source§

type Output = Div<Millennium, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Milligram
where T: Unit,

Source§

type Output = Div<Milligram, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Millimeter
where T: Unit,

Source§

type Output = Div<Millimeter, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Minute
where T: Unit,

Source§

type Output = Div<Minute, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U, W, X> Div<Div<T, U>> for Mul<W, X>
where W: Copy + Unit, T: Copy + Unit,

Source§

type Output = Mul<W, Mul<X, Div<U, T>>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Ounce
where T: Unit,

Source§

type Output = Div<Ounce, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Picometer
where T: Unit,

Source§

type Output = Div<Picometer, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Pound
where T: Unit,

Source§

type Output = Div<Pound, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Second
where T: Unit,

Source§

type Output = Div<Second, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Ton
where T: Unit,

Source§

type Output = Div<Ton, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Ton
where T: Unit,

Source§

type Output = Div<Ton, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Yard
where T: Unit,

Source§

type Output = Div<Yard, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Div<T, U>> for Year
where T: Unit,

Source§

type Output = Div<Year, Div<T, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Div<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Fahrenheit> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Fahrenheit, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Fahrenheit) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Femtometer> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Femtometer, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Femtometer) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Foot> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Foot, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Foot) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Gram> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Gram, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Gram) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Hour> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Hour, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Hour) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Inch> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Inch, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Inch) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Kelvin> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Kelvin, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Kelvin) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Kilogram> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Kilogram, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Kilogram) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Kilometer> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Kilometer, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Kilometer) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Lightyear> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Lightyear, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Lightyear) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Meter> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Meter, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Meter) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Micrometer> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Micrometer, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Micrometer) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Mile> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Mile, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Mile) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Millennium> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Millennium, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Millennium) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Milligram> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Milligram, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Milligram) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Millimeter> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Millimeter, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Millimeter) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Minute> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Minute, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Minute) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U, W, X> Div<Mul<T, U>> for Div<W, X>
where W: Copy + Unit, T: Copy + Unit,

Source§

type Output = Div<W, Mul<X, Mul<T, U>>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Mul<T, U>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Ounce> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Ounce, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Ounce) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Picometer> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Picometer, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Picometer) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Pound> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Pound, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Pound) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Second> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Second, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Second) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Ton> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Ton, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: ITon) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Ton> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Ton, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: MTon) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Yard> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Yard, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Yard) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<Year> for Div<T, U>
where T: Unit,

Source§

type Output = Div<T, Mul<Year, U>>

The resulting type after applying the / operator.
Source§

fn div(self, other: Year) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<f64> for Div<T, U>
where T: Div<f64, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the / operator.
Source§

fn div(self, other: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> Div<i64> for Div<T, U>
where T: Div<f64, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the / operator.
Source§

fn div(self, other: i64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, U> DivAssign<f64> for Div<T, U>
where T: DivAssign<f64>,

Source§

fn div_assign(&mut self, other: f64)

Performs the /= operation. Read more
Source§

impl<T, U> DivAssign<i64> for Div<T, U>
where T: DivAssign<f64>,

Source§

fn div_assign(&mut self, other: i64)

Performs the /= operation. Read more
Source§

impl<T, U> Mul<AU> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<AU, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: AU) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Celsius> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Celsius, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Celsius) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Centigram> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Centigram, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Centigram) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Centimeter> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Centimeter, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Centimeter) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Century> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Century, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Century) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Day> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Day, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Day) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Decade> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Decade, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Decade) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for AU
where T: Unit,

Source§

type Output = Mul<AU, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Celsius
where T: Unit,

Source§

type Output = Mul<Celsius, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Centigram
where T: Unit,

Source§

type Output = Mul<Centigram, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Centimeter
where T: Unit,

Source§

type Output = Mul<Centimeter, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Century
where T: Unit,

Source§

type Output = Mul<Century, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Day
where T: Unit,

Source§

type Output = Mul<Day, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Decade
where T: Unit,

Source§

type Output = Mul<Decade, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U, W, X> Mul<Div<T, U>> for Div<W, X>
where W: Copy + Unit, T: Copy + Unit,

Source§

type Output = Mul<W, Div<T, Mul<X, U>>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Fahrenheit
where T: Unit,

Source§

type Output = Mul<Fahrenheit, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Femtometer
where T: Unit,

Source§

type Output = Mul<Femtometer, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Foot
where T: Unit,

Source§

type Output = Mul<Foot, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Gram
where T: Unit,

Source§

type Output = Mul<Gram, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Hour
where T: Unit,

Source§

type Output = Mul<Hour, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Inch
where T: Unit,

Source§

type Output = Mul<Inch, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Kelvin
where T: Unit,

Source§

type Output = Mul<Kelvin, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Kilogram
where T: Unit,

Source§

type Output = Mul<Kilogram, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Kilometer
where T: Unit,

Source§

type Output = Mul<Kilometer, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Lightyear
where T: Unit,

Source§

type Output = Mul<Lightyear, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Meter
where T: Unit,

Source§

type Output = Mul<Meter, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Micrometer
where T: Unit,

Source§

type Output = Mul<Micrometer, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Mile
where T: Unit,

Source§

type Output = Mul<Mile, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Millennium
where T: Unit,

Source§

type Output = Mul<Millennium, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Milligram
where T: Unit,

Source§

type Output = Mul<Milligram, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Millimeter
where T: Unit,

Source§

type Output = Mul<Millimeter, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Minute
where T: Unit,

Source§

type Output = Mul<Minute, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U, W, X> Mul<Div<T, U>> for Mul<W, X>
where W: Copy + Unit, T: Copy + Unit,

Source§

type Output = Mul<W, Mul<X, Div<T, U>>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Ounce
where T: Unit,

Source§

type Output = Mul<Ounce, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Picometer
where T: Unit,

Source§

type Output = Mul<Picometer, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Pound
where T: Unit,

Source§

type Output = Mul<Pound, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Second
where T: Unit,

Source§

type Output = Mul<Second, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Ton
where T: Unit,

Source§

type Output = Mul<Ton, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Ton
where T: Unit,

Source§

type Output = Mul<Ton, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Yard
where T: Unit,

Source§

type Output = Mul<Yard, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for Year
where T: Unit,

Source§

type Output = Mul<Year, Div<T, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for f64
where T: Mul<f64, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Div<T, U>> for i64
where T: Mul<f64, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Div<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Fahrenheit> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Fahrenheit, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Fahrenheit) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Femtometer> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Femtometer, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Femtometer) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Foot> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Foot, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Foot) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Gram> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Gram, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Gram) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Hour> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Hour, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Hour) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Inch> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Inch, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Inch) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Kelvin> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Kelvin, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Kelvin) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Kilogram> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Kilogram, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Kilogram) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Kilometer> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Kilometer, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Kilometer) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Lightyear> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Lightyear, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Lightyear) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Meter> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Meter, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Meter) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Micrometer> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Micrometer, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Micrometer) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Mile> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Mile, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Mile) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Millennium> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Millennium, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Millennium) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Milligram> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Milligram, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Milligram) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Millimeter> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Millimeter, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Millimeter) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Minute> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Minute, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Minute) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U, W, X> Mul<Mul<T, U>> for Div<W, X>
where W: Copy + Unit, T: Copy + Unit,

Source§

type Output = Mul<W, Mul<T, Div<U, X>>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Mul<T, U>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Ounce> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Ounce, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Ounce) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Picometer> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Picometer, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Picometer) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Pound> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Pound, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Pound) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Second> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Second, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Second) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Ton> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Ton, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: ITon) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Ton> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Ton, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: MTon) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Yard> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Yard, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Yard) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<Year> for Div<T, U>
where T: Unit,

Source§

type Output = Mul<T, Div<Year, U>>

The resulting type after applying the * operator.
Source§

fn mul(self, other: Year) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<f64> for Div<T, U>
where T: Mul<f64, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the * operator.
Source§

fn mul(self, other: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> Mul<i64> for Div<T, U>
where T: Mul<f64, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the * operator.
Source§

fn mul(self, other: i64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, U> MulAssign<f64> for Div<T, U>
where T: MulAssign<f64>,

Source§

fn mul_assign(&mut self, other: f64)

Performs the *= operation. Read more
Source§

impl<T, U> MulAssign<i64> for Div<T, U>
where T: MulAssign<f64>,

Source§

fn mul_assign(&mut self, other: i64)

Performs the *= operation. Read more
Source§

impl<T, U> Sub for Div<T, U>
where T: Sub<T, Output = T>,

Source§

type Output = Div<T, U>

The resulting type after applying the - operator.
Source§

fn sub(self, other: Div<T, U>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, U> Unit for Div<T, U>
where T: Unit,

Source§

fn new(val: f64) -> Div<T, U>

Source§

fn inner(&self) -> f64

Source§

impl<T, U> UnitName for Div<T, U>
where T: Unit + UnitName, U: UnitName,

Source§

fn get_unit(&self) -> &'static str

Source§

fn get_unit_static() -> &'static str

Source§

fn write_unit_static(f: &mut Formatter<'_>) -> Result

Source§

impl<T: Copy, U: Copy> Copy for Div<T, U>

Auto Trait Implementations§

§

impl<T, U> Freeze for Div<T, U>
where T: Freeze,

§

impl<T, U> RefUnwindSafe for Div<T, U>

§

impl<T, U> Send for Div<T, U>
where T: Send, U: Send,

§

impl<T, U> Sync for Div<T, U>
where T: Sync, U: Sync,

§

impl<T, U> Unpin for Div<T, U>
where T: Unpin, U: Unpin,

§

impl<T, U> UnwindSafe for Div<T, U>
where T: UnwindSafe, U: 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.