Skip to main content

Volume

Struct Volume 

Source
pub struct Volume<T: NumLike> {
    pub m3: T,
}
Expand description

The volume unit type, defined as cubic meters in SI units

Fields§

§m3: T

The value of this Volume in cubic meters

Implementations§

Source§

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

Source

pub fn unit_name() -> &'static str

Returns the standard unit name of volume: “cubic meters”

Source

pub fn unit_symbol() -> &'static str

Returns the abbreviated name or symbol of volume: “m³” for cubic meters

Source

pub fn from_m3(m3: T) -> Self

Returns a new volume value from the given number of cubic meters

§Arguments
  • m3 - Any number-like type, representing a quantity of cubic meters
Source

pub fn to_m3(&self) -> T

Returns a copy of this volume value in cubic meters

Source

pub fn from_cubic_meters(cubic_meters: T) -> Self

Returns a new volume value from the given number of cubic meters

§Arguments
  • cubic_meters - Any number-like type, representing a quantity of cubic meters
Source

pub fn to_cubic_meters(&self) -> T

Returns a copy of this volume value in cubic meters

Source

pub fn from_kL(kL: T) -> Self

Returns a new volume value from the given number of kiloliters

§Arguments
  • kL - Any number-like type, representing a quantity of cubic meters
Source

pub fn to_kL(&self) -> T

Returns a copy of this volume value in kiloliters

Source§

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

Source

pub fn to_cc(&self) -> T

Returns a copy of this volume value in cubic cm

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

Source

pub fn from_cc(cc: T) -> Self

Returns a new volume value from the given number of cubic cm

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

§Arguments
  • cc - Any number-like type, representing a quantity of cubic cm
Source

pub fn to_L(&self) -> T

Returns a copy of this volume value in liters

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

Source

pub fn from_L(L: T) -> Self

Returns a new volume value from the given number of liters

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

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

pub fn to_liters(&self) -> T

Returns a copy of this volume value in liters

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

Source

pub fn from_liters(liters: T) -> Self

Returns a new volume value from the given number of liters

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

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

pub fn to_mL(&self) -> T

Returns a copy of this volume value in milliliters

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

Source

pub fn from_mL(mL: T) -> Self

Returns a new volume value from the given number of milliliters

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

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

pub fn to_uL(&self) -> T

Returns a copy of this volume value in microliters

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

Source

pub fn from_uL(uL: T) -> Self

Returns a new volume value from the given number of microliters

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

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

pub fn to_nL(&self) -> T

Returns a copy of this volume value in nanoliters

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

Source

pub fn from_nL(nL: T) -> Self

Returns a new volume value from the given number of nanoliters

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

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

pub fn to_pL(&self) -> T

Returns a copy of this volume value in picoliters

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

Source

pub fn from_pL(pL: T) -> Self

Returns a new volume value from the given number of picoliters

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

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

pub fn to_ML(&self) -> T

Returns a copy of this volume value in megaliters

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

Source

pub fn from_ML(ML: T) -> Self

Returns a new volume value from the given number of megaliters

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

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

pub fn to_GL(&self) -> T

Returns a copy of this volume value in gigaliters

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

Source

pub fn from_GL(GL: T) -> Self

Returns a new volume value from the given number of gigaliters

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

§Arguments
  • GL - Any number-like type, representing a quantity of gigaliters

Trait Implementations§

Source§

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

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

Source§

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

Source§

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

Source§

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

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

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

Dividing a Volume by a Amount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Amount<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a Amount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Area returns a value of type Distance

Source§

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

Dividing a Volume by a Area returns a value of type Distance

Source§

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

Dividing a Volume by a Distance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Distance<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a Distance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Energy returns a value of type InversePressure

Source§

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

Dividing a Volume by a Energy returns a value of type InversePressure

Source§

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

Dividing a Volume by a InversePressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&InversePressure<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a InversePressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Mass returns a value of type VolumePerMass

Source§

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

Dividing a Volume by a Mass returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<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<&MolarVolume<T>> for &Volume<T>
where T: NumLike,

Dividing a Volume by a MolarVolume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&MolarVolume<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a MolarVolume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

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

Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Torque returns a value of type InversePressure

Source§

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

Dividing a Volume by a Torque returns a value of type InversePressure

Source§

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

Dividing a Amount by a Volume returns a value of type Concentration

Source§

type Output = Concentration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Area by a Volume returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for &Distance<T>
where T: NumLike,

Dividing a Distance by a Volume returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for &InversePressure<T>
where T: NumLike,

Dividing a InversePressure by a Volume returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Mass by a Volume returns a value of type Density

Source§

type Output = Density<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for &MolarVolume<T>
where T: NumLike,

Dividing a MolarVolume by a Volume returns a value of type InverseAmount

Source§

type Output = InverseAmount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for &VolumePerMass<T>
where T: NumLike,

Dividing a VolumePerMass by a Volume returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for Amount<T>
where T: NumLike,

Dividing a Amount by a Volume returns a value of type Concentration

Source§

type Output = Concentration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Area by a Volume returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for Distance<T>
where T: NumLike,

Dividing a Distance by a Volume returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for InversePressure<T>
where T: NumLike,

Dividing a InversePressure by a Volume returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Mass by a Volume returns a value of type Density

Source§

type Output = Density<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for MolarVolume<T>
where T: NumLike,

Dividing a MolarVolume by a Volume returns a value of type InverseAmount

Source§

type Output = InverseAmount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&Volume<T>> for VolumePerMass<T>
where T: NumLike,

Dividing a VolumePerMass by a Volume returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&VolumePerMass<T>> for &Volume<T>
where T: NumLike,

Dividing a Volume by a VolumePerMass returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<&VolumePerMass<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a VolumePerMass returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Amount<T>> for &Volume<T>
where T: NumLike,

Dividing a Volume by a Amount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Amount<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a Amount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Area returns a value of type Distance

Source§

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

Dividing a Volume by a Area returns a value of type Distance

Source§

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

Dividing a Volume by a Distance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Distance<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a Distance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Energy returns a value of type InversePressure

Source§

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

Dividing a Volume by a Energy returns a value of type InversePressure

Source§

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

Dividing a Volume by a InversePressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<InversePressure<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a InversePressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Mass returns a value of type VolumePerMass

Source§

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

Dividing a Volume by a Mass returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<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<MolarVolume<T>> for &Volume<T>
where T: NumLike,

Dividing a Volume by a MolarVolume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<MolarVolume<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a MolarVolume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

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

Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Volume by a Torque returns a value of type InversePressure

Source§

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

Dividing a Volume by a Torque returns a value of type InversePressure

Source§

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

Dividing a Amount by a Volume returns a value of type Concentration

Source§

type Output = Concentration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Area by a Volume returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for &Distance<T>
where T: NumLike,

Dividing a Distance by a Volume returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for &InversePressure<T>
where T: NumLike,

Dividing a InversePressure by a Volume returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Mass by a Volume returns a value of type Density

Source§

type Output = Density<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for &MolarVolume<T>
where T: NumLike,

Dividing a MolarVolume by a Volume returns a value of type InverseAmount

Source§

type Output = InverseAmount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for &VolumePerMass<T>
where T: NumLike,

Dividing a VolumePerMass by a Volume returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for Amount<T>
where T: NumLike,

Dividing a Amount by a Volume returns a value of type Concentration

Source§

type Output = Concentration<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Area by a Volume returns a value of type InverseDistance

Source§

type Output = InverseDistance<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for Distance<T>
where T: NumLike,

Dividing a Distance by a Volume returns a value of type InverseArea

Source§

type Output = InverseArea<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Energy by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for InversePressure<T>
where T: NumLike,

Dividing a InversePressure by a Volume returns a value of type InverseEnergy

Source§

type Output = InverseEnergy<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Mass by a Volume returns a value of type Density

Source§

type Output = Density<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for MolarVolume<T>
where T: NumLike,

Dividing a MolarVolume by a Volume returns a value of type InverseAmount

Source§

type Output = InverseAmount<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a Torque by a Volume returns a value of type Pressure

Source§

type Output = Pressure<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<Volume<T>> for VolumePerMass<T>
where T: NumLike,

Dividing a VolumePerMass by a Volume returns a value of type InverseMass

Source§

type Output = InverseMass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

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

Dividing a scalar value by a Volume unit value returns a value of type InverseVolume

Source§

type Output = InverseVolume<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<VolumePerMass<T>> for &Volume<T>
where T: NumLike,

Dividing a Volume by a VolumePerMass returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T> Div<VolumePerMass<T>> for Volume<T>
where T: NumLike,

Dividing a Volume by a VolumePerMass returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the / operator.
Source§

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

Performs the / operation. Read more
Source§

impl<T: NumLike> Div for &Volume<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 Volume<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 Volume<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 Volume<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<&Concentration<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a Concentration returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Concentration<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a Concentration returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Density<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a Density returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Density<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a Density returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseAmount<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseAmount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseAmount<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseAmount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Volume by a InverseArea returns a value of type Distance

Source§

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

Multiplying a Volume by a InverseArea returns a value of type Distance

Source§

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

Multiplying a Volume by a InverseDistance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&InverseDistance<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseDistance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Volume by a InverseEnergy returns a value of type InversePressure

Source§

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

Multiplying a Volume by a InverseEnergy returns a value of type InversePressure

Source§

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

Multiplying a Volume by a InverseMass returns a value of type VolumePerMass

Source§

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

Multiplying a Volume by a InverseMass returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<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<&InverseTorque<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseTorque returns a value of type InversePressure

Source§

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

Multiplying a Volume by a InverseTorque returns a value of type InversePressure

Source§

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

Multiplying a Volume by a Pressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Pressure<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a Pressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

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

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

Source§

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

Multiplying a Concentration by a Volume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for &Density<T>
where T: NumLike,

Multiplying a Density by a Volume returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for &InverseAmount<T>
where T: NumLike,

Multiplying a InverseAmount by a Volume returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseArea by a Volume returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for &InverseDistance<T>
where T: NumLike,

Multiplying a InverseDistance by a Volume returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseMass by a Volume returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for &Pressure<T>
where T: NumLike,

Multiplying a Pressure by a Volume returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for Concentration<T>
where T: NumLike,

Multiplying a Concentration by a Volume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for Density<T>
where T: NumLike,

Multiplying a Density by a Volume returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for InverseAmount<T>
where T: NumLike,

Multiplying a InverseAmount by a Volume returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseArea by a Volume returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for InverseDistance<T>
where T: NumLike,

Multiplying a InverseDistance by a Volume returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseMass by a Volume returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<&Volume<T>> for Pressure<T>
where T: NumLike,

Multiplying a Pressure by a Volume returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Concentration<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a Concentration returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Concentration<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a Concentration returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Density<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a Density returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Density<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a Density returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseAmount<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseAmount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseAmount<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseAmount returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Volume by a InverseArea returns a value of type Distance

Source§

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

Multiplying a Volume by a InverseArea returns a value of type Distance

Source§

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

Multiplying a Volume by a InverseDistance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<InverseDistance<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseDistance returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a Volume by a InverseEnergy returns a value of type InversePressure

Source§

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

Multiplying a Volume by a InverseEnergy returns a value of type InversePressure

Source§

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

Multiplying a Volume by a InverseMass returns a value of type VolumePerMass

Source§

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

Multiplying a Volume by a InverseMass returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<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<InverseTorque<T>> for &Volume<T>
where T: NumLike,

Multiplying a Volume by a InverseTorque returns a value of type InversePressure

Source§

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

Multiplying a Volume by a InverseTorque returns a value of type InversePressure

Source§

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

Multiplying a Volume by a Pressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Pressure<T>> for Volume<T>
where T: NumLike,

Multiplying a Volume by a Pressure returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

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

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

Source§

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

Multiplying a Concentration by a Volume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for &Density<T>
where T: NumLike,

Multiplying a Density by a Volume returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for &InverseAmount<T>
where T: NumLike,

Multiplying a InverseAmount by a Volume returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseArea by a Volume returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for &InverseDistance<T>
where T: NumLike,

Multiplying a InverseDistance by a Volume returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseMass by a Volume returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for &Pressure<T>
where T: NumLike,

Multiplying a Pressure by a Volume returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for Concentration<T>
where T: NumLike,

Multiplying a Concentration by a Volume returns a value of type Amount

Source§

type Output = Amount<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for Density<T>
where T: NumLike,

Multiplying a Density by a Volume returns a value of type Mass

Source§

type Output = Mass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for InverseAmount<T>
where T: NumLike,

Multiplying a InverseAmount by a Volume returns a value of type MolarVolume

Source§

type Output = MolarVolume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseArea by a Volume returns a value of type Distance

Source§

type Output = Distance<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for InverseDistance<T>
where T: NumLike,

Multiplying a InverseDistance by a Volume returns a value of type Area

Source§

type Output = Area<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseEnergy by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseMass by a Volume returns a value of type VolumePerMass

Source§

type Output = VolumePerMass<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Multiplying a InverseTorque by a Volume returns a value of type InversePressure

Source§

type Output = InversePressure<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

impl<T> Mul<Volume<T>> for Pressure<T>
where T: NumLike,

Multiplying a Pressure by a Volume returns a value of type Energy

Source§

type Output = Energy<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

type Output = Volume<T>

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

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

Source§

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

Flips the sign of this unit value

Source§

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

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

Source§

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

§

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

§

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

§

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

§

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

§

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

§

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