pub struct Volume<T: NumLike> {
pub m3: T,
}Expand description
The volume unit type, defined as cubic meters in SI units
Fields§
§m3: TThe value of this Volume in cubic meters
Implementations§
Source§impl<T> Volume<T>where
T: NumLike,
impl<T> Volume<T>where
T: NumLike,
Sourcepub fn unit_symbol() -> &'static str
pub fn unit_symbol() -> &'static str
Returns the abbreviated name or symbol of volume: “m³” for cubic meters
Sourcepub fn from_m3(m3: T) -> Self
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
Sourcepub fn from_cubic_meters(cubic_meters: T) -> Self
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
Sourcepub fn to_cubic_meters(&self) -> T
pub fn to_cubic_meters(&self) -> T
Returns a copy of this volume value in cubic meters
Source§impl<T> Volume<T>
impl<T> Volume<T>
Sourcepub fn to_cc(&self) -> T
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
Sourcepub fn from_cc(cc: T) -> Self
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
Sourcepub fn to_L(&self) -> T
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
Sourcepub fn from_L(L: T) -> Self
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
Sourcepub fn to_liters(&self) -> T
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
Sourcepub fn from_liters(liters: T) -> Self
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
Sourcepub fn to_mL(&self) -> T
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
Sourcepub fn from_mL(mL: T) -> Self
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
Sourcepub fn to_uL(&self) -> T
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
Sourcepub fn from_uL(uL: T) -> Self
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
Sourcepub fn to_nL(&self) -> T
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
Sourcepub fn from_nL(nL: T) -> Self
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
Sourcepub fn to_pL(&self) -> T
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
Sourcepub fn from_pL(pL: T) -> Self
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
Sourcepub fn to_ML(&self) -> T
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
Sourcepub fn from_ML(ML: T) -> Self
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
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)
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§impl<T: NumLike> Add for Volume<T>
Adding two unit values of the same type returns a new unit value of the same type
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§impl<T: NumLike> AddAssign for Volume<T>
Adds the given unit value to this unit value
impl<T: NumLike> AddAssign for Volume<T>
Adds the given unit value to this unit value
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+= operation. Read moreSource§impl<T> Div<&Amount<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
impl<T> Div<&Amount<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
Source§impl<T> Div<&Amount<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
impl<T> Div<&Amount<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
Source§impl<T> Div<&Area<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
impl<T> Div<&Area<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
Source§impl<T> Div<&Area<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
impl<T> Div<&Area<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
Source§impl<T> Div<&Distance<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
impl<T> Div<&Distance<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
Source§impl<T> Div<&Distance<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
impl<T> Div<&Distance<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
Source§impl<T> Div<&Energy<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
impl<T> Div<&Energy<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
Source§impl<T> Div<&Energy<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
impl<T> Div<&Energy<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
Source§impl<T> Div<&InversePressure<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
impl<T> Div<&InversePressure<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
Source§impl<T> Div<&InversePressure<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
impl<T> Div<&InversePressure<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
Source§impl<T> Div<&Mass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
impl<T> Div<&Mass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
Source§impl<T> Div<&Mass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
impl<T> Div<&Mass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
Source§impl<T> Div<&MolarVolume<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
impl<T> Div<&MolarVolume<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
Source§impl<T> Div<&MolarVolume<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
impl<T> Div<&MolarVolume<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
Source§impl<T> Div<&T> for &Volume<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
impl<T> Div<&T> for &Volume<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
Source§impl<T> Div<&T> for Volume<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
impl<T> Div<&T> for Volume<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
Source§impl<T> Div<&Torque<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
impl<T> Div<&Torque<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
Source§impl<T> Div<&Torque<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
impl<T> Div<&Torque<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
Source§impl<T> Div<&Volume<T>> for &Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
impl<T> Div<&Volume<T>> for &Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
Source§impl<T> Div<&Volume<T>> for &Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
impl<T> Div<&Volume<T>> for &Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
Source§impl<T> Div<&Volume<T>> for &Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
impl<T> Div<&Volume<T>> for &Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
Source§impl<T> Div<&Volume<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
impl<T> Div<&Volume<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
Source§impl<T> Div<&Volume<T>> for &InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
impl<T> Div<&Volume<T>> for &InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
Source§impl<T> Div<&Volume<T>> for &Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
impl<T> Div<&Volume<T>> for &Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
Source§impl<T> Div<&Volume<T>> for &MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
impl<T> Div<&Volume<T>> for &MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
Source§impl<T> Div<&Volume<T>> for &Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
impl<T> Div<&Volume<T>> for &Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
Source§impl<T> Div<&Volume<T>> for &VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
impl<T> Div<&Volume<T>> for &VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
Source§impl<T> Div<&Volume<T>> for &f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for &f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&Volume<T>> for &f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for &f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&Volume<T>> for &i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for &i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&Volume<T>> for &i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for &i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&Volume<T>> for Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
impl<T> Div<&Volume<T>> for Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
Source§impl<T> Div<&Volume<T>> for Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
impl<T> Div<&Volume<T>> for Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
Source§impl<T> Div<&Volume<T>> for Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
impl<T> Div<&Volume<T>> for Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
Source§impl<T> Div<&Volume<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
impl<T> Div<&Volume<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
Source§impl<T> Div<&Volume<T>> for InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
impl<T> Div<&Volume<T>> for InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
Source§impl<T> Div<&Volume<T>> for Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
impl<T> Div<&Volume<T>> for Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
Source§impl<T> Div<&Volume<T>> for MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
impl<T> Div<&Volume<T>> for MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
Source§impl<T> Div<&Volume<T>> for Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
impl<T> Div<&Volume<T>> for Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
Source§impl<T> Div<&Volume<T>> for VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
impl<T> Div<&Volume<T>> for VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
Source§impl<T> Div<&Volume<T>> for f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&Volume<T>> for f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&Volume<T>> for i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&Volume<T>> for i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<&Volume<T>> for i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<&VolumePerMass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
impl<T> Div<&VolumePerMass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
Source§impl<T> Div<&VolumePerMass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
impl<T> Div<&VolumePerMass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
Source§impl<T> Div<Amount<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
impl<T> Div<Amount<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
Source§impl<T> Div<Amount<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
impl<T> Div<Amount<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Amount returns a value of type MolarVolume
Source§impl<T> Div<Area<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
impl<T> Div<Area<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
Source§impl<T> Div<Area<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
impl<T> Div<Area<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Area returns a value of type Distance
Source§impl<T> Div<Distance<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
impl<T> Div<Distance<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
Source§impl<T> Div<Distance<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
impl<T> Div<Distance<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Distance returns a value of type Area
Source§impl<T> Div<Energy<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
impl<T> Div<Energy<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
Source§impl<T> Div<Energy<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
impl<T> Div<Energy<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Energy returns a value of type InversePressure
Source§impl<T> Div<InversePressure<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
impl<T> Div<InversePressure<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
Source§impl<T> Div<InversePressure<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
impl<T> Div<InversePressure<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a InversePressure returns a value of type Energy
Source§impl<T> Div<Mass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
impl<T> Div<Mass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
Source§impl<T> Div<Mass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
impl<T> Div<Mass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Mass returns a value of type VolumePerMass
Source§impl<T> Div<MolarVolume<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
impl<T> Div<MolarVolume<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
Source§impl<T> Div<MolarVolume<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
impl<T> Div<MolarVolume<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a MolarVolume returns a value of type Amount
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)
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§impl<T: NumLike> Div<T> for Volume<T>
Dividing a unit value by a scalar value returns a unit value
impl<T: NumLike> Div<T> for Volume<T>
Dividing a unit value by a scalar value returns a unit value
Source§impl<T> Div<Torque<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
impl<T> Div<Torque<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
Source§impl<T> Div<Torque<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
impl<T> Div<Torque<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a Torque returns a value of type InversePressure
Source§impl<T> Div<Volume<T>> for &Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
impl<T> Div<Volume<T>> for &Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
Source§impl<T> Div<Volume<T>> for &Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
impl<T> Div<Volume<T>> for &Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
Source§impl<T> Div<Volume<T>> for &Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
impl<T> Div<Volume<T>> for &Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
Source§impl<T> Div<Volume<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
impl<T> Div<Volume<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
Source§impl<T> Div<Volume<T>> for &InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
impl<T> Div<Volume<T>> for &InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
Source§impl<T> Div<Volume<T>> for &Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
impl<T> Div<Volume<T>> for &Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
Source§impl<T> Div<Volume<T>> for &MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
impl<T> Div<Volume<T>> for &MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
Source§impl<T> Div<Volume<T>> for &Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
impl<T> Div<Volume<T>> for &Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
Source§impl<T> Div<Volume<T>> for &VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
impl<T> Div<Volume<T>> for &VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
Source§impl<T> Div<Volume<T>> for &f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for &f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<Volume<T>> for &f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for &f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<Volume<T>> for &i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for &i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<Volume<T>> for &i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for &i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<Volume<T>> for Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
impl<T> Div<Volume<T>> for Amount<T>where
T: NumLike,
Dividing a Amount by a Volume returns a value of type Concentration
Source§impl<T> Div<Volume<T>> for Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
impl<T> Div<Volume<T>> for Area<T>where
T: NumLike,
Dividing a Area by a Volume returns a value of type InverseDistance
Source§impl<T> Div<Volume<T>> for Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
impl<T> Div<Volume<T>> for Distance<T>where
T: NumLike,
Dividing a Distance by a Volume returns a value of type InverseArea
Source§impl<T> Div<Volume<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
impl<T> Div<Volume<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a Volume returns a value of type Pressure
Source§impl<T> Div<Volume<T>> for InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
impl<T> Div<Volume<T>> for InversePressure<T>where
T: NumLike,
Dividing a InversePressure by a Volume returns a value of type InverseEnergy
Source§impl<T> Div<Volume<T>> for Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
impl<T> Div<Volume<T>> for Mass<T>where
T: NumLike,
Dividing a Mass by a Volume returns a value of type Density
Source§impl<T> Div<Volume<T>> for MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
impl<T> Div<Volume<T>> for MolarVolume<T>where
T: NumLike,
Dividing a MolarVolume by a Volume returns a value of type InverseAmount
Source§impl<T> Div<Volume<T>> for Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
impl<T> Div<Volume<T>> for Torque<T>where
T: NumLike,
Dividing a Torque by a Volume returns a value of type Pressure
Source§impl<T> Div<Volume<T>> for VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
impl<T> Div<Volume<T>> for VolumePerMass<T>where
T: NumLike,
Dividing a VolumePerMass by a Volume returns a value of type InverseMass
Source§impl<T> Div<Volume<T>> for f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for f32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<Volume<T>> for f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for f64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<Volume<T>> for i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for i32
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<Volume<T>> for i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
impl<T> Div<Volume<T>> for i64
Dividing a scalar value by a Volume unit value returns a value of type InverseVolume
Source§impl<T> Div<VolumePerMass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
impl<T> Div<VolumePerMass<T>> for &Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
Source§impl<T> Div<VolumePerMass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
impl<T> Div<VolumePerMass<T>> for Volume<T>where
T: NumLike,
Dividing a Volume by a VolumePerMass returns a value of type Mass
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)
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§impl<T: NumLike> Div for Volume<T>
Dividing a unit value by another of the same type returns a scalar value
impl<T: NumLike> Div for Volume<T>
Dividing a unit value by another of the same type returns a scalar value
Source§impl<T: NumLike> DivAssign<T> for Volume<T>
Divides this unit value by a scalar
impl<T: NumLike> DivAssign<T> for Volume<T>
Divides this unit value by a scalar
Source§fn div_assign(&mut self, rhs: T)
fn div_assign(&mut self, rhs: T)
/= operation. Read moreSource§impl<T> Hash for Volume<T>
This struct implements the Hash trait if it’s member data type also has the Hash trait
impl<T> Hash for Volume<T>
This struct implements the Hash trait if it’s member data type also has the Hash trait
Source§impl<T> Mul<&Concentration<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
impl<T> Mul<&Concentration<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
Source§impl<T> Mul<&Concentration<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
impl<T> Mul<&Concentration<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
Source§impl<T> Mul<&Density<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
impl<T> Mul<&Density<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
Source§impl<T> Mul<&Density<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
impl<T> Mul<&Density<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
Source§impl<T> Mul<&InverseAmount<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseAmount returns a value of type MolarVolume
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>
type Output = MolarVolume<T>
* operator.Source§impl<T> Mul<&InverseAmount<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseAmount returns a value of type MolarVolume
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>
type Output = MolarVolume<T>
* operator.Source§impl<T> Mul<&InverseArea<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
impl<T> Mul<&InverseArea<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
Source§impl<T> Mul<&InverseArea<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
impl<T> Mul<&InverseArea<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
Source§impl<T> Mul<&InverseDistance<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
impl<T> Mul<&InverseDistance<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
Source§impl<T> Mul<&InverseDistance<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
impl<T> Mul<&InverseDistance<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
Source§impl<T> Mul<&InverseEnergy<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseEnergy returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<&InverseEnergy<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseEnergy returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<&InverseMass<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseMass returns a value of type VolumePerMass
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>
type Output = VolumePerMass<T>
* operator.Source§impl<T> Mul<&InverseMass<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseMass returns a value of type VolumePerMass
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>
type Output = VolumePerMass<T>
* operator.Source§impl<T> Mul<&InverseTorque<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseTorque returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<&InverseTorque<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseTorque returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<&Pressure<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
impl<T> Mul<&Pressure<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
Source§impl<T> Mul<&Pressure<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
impl<T> Mul<&Pressure<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
Source§impl<T> Mul<&T> for &Volume<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<&T> for &Volume<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<&T> for Volume<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<&T> for Volume<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<&Volume<T>> for &Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
impl<T> Mul<&Volume<T>> for &Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
Source§impl<T> Mul<&Volume<T>> for &Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
impl<T> Mul<&Volume<T>> for &Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
Source§impl<T> Mul<&Volume<T>> for &InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
impl<T> Mul<&Volume<T>> for &InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
Source§impl<T> Mul<&Volume<T>> for &InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
impl<T> Mul<&Volume<T>> for &InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
Source§impl<T> Mul<&Volume<T>> for &InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
impl<T> Mul<&Volume<T>> for &InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
Source§impl<T> Mul<&Volume<T>> for &InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
impl<T> Mul<&Volume<T>> for &InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
Source§impl<T> Mul<&Volume<T>> for &InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
impl<T> Mul<&Volume<T>> for &InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
Source§impl<T> Mul<&Volume<T>> for &InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
impl<T> Mul<&Volume<T>> for &InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
Source§impl<T> Mul<&Volume<T>> for &Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
impl<T> Mul<&Volume<T>> for &Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
Source§impl<T> Mul<&Volume<T>> for Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
impl<T> Mul<&Volume<T>> for Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
Source§impl<T> Mul<&Volume<T>> for Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
impl<T> Mul<&Volume<T>> for Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
Source§impl<T> Mul<&Volume<T>> for InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
impl<T> Mul<&Volume<T>> for InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
Source§impl<T> Mul<&Volume<T>> for InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
impl<T> Mul<&Volume<T>> for InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
Source§impl<T> Mul<&Volume<T>> for InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
impl<T> Mul<&Volume<T>> for InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
Source§impl<T> Mul<&Volume<T>> for InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
impl<T> Mul<&Volume<T>> for InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
Source§impl<T> Mul<&Volume<T>> for InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
impl<T> Mul<&Volume<T>> for InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
Source§impl<T> Mul<&Volume<T>> for InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
impl<T> Mul<&Volume<T>> for InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
Source§impl<T> Mul<&Volume<T>> for Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
impl<T> Mul<&Volume<T>> for Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
Source§impl<T> Mul<&Volume<T>> for f32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for f32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for f64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for f64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for i16
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for i16
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for i32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for i32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for i64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for i64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for i8
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for i8
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for u16
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for u16
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for u32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for u32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for u64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for u64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<&Volume<T>> for u8
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
impl<T> Mul<&Volume<T>> for u8
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Mul<Concentration<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
impl<T> Mul<Concentration<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
Source§impl<T> Mul<Concentration<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
impl<T> Mul<Concentration<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Concentration returns a value of type Amount
Source§impl<T> Mul<Density<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
impl<T> Mul<Density<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
Source§impl<T> Mul<Density<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
impl<T> Mul<Density<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Density returns a value of type Mass
Source§impl<T> Mul<InverseAmount<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseAmount returns a value of type MolarVolume
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>
type Output = MolarVolume<T>
* operator.Source§impl<T> Mul<InverseAmount<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseAmount returns a value of type MolarVolume
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>
type Output = MolarVolume<T>
* operator.Source§impl<T> Mul<InverseArea<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
impl<T> Mul<InverseArea<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
Source§impl<T> Mul<InverseArea<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
impl<T> Mul<InverseArea<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseArea returns a value of type Distance
Source§impl<T> Mul<InverseDistance<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
impl<T> Mul<InverseDistance<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
Source§impl<T> Mul<InverseDistance<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
impl<T> Mul<InverseDistance<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseDistance returns a value of type Area
Source§impl<T> Mul<InverseEnergy<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseEnergy returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<InverseEnergy<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseEnergy returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<InverseMass<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseMass returns a value of type VolumePerMass
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>
type Output = VolumePerMass<T>
* operator.Source§impl<T> Mul<InverseMass<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseMass returns a value of type VolumePerMass
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>
type Output = VolumePerMass<T>
* operator.Source§impl<T> Mul<InverseTorque<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseTorque returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<InverseTorque<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a InverseTorque returns a value of type InversePressure
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>
type Output = InversePressure<T>
* operator.Source§impl<T> Mul<Pressure<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
impl<T> Mul<Pressure<T>> for &Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
Source§impl<T> Mul<Pressure<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
impl<T> Mul<Pressure<T>> for Volume<T>where
T: NumLike,
Multiplying a Volume by a Pressure returns a value of type Energy
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)
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§impl<T: NumLike> Mul<T> for Volume<T>
Multiplying a unit value by a scalar value returns a unit value
impl<T: NumLike> Mul<T> for Volume<T>
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for &Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
impl<T> Mul<Volume<T>> for &Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
Source§impl<T> Mul<Volume<T>> for &Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
impl<T> Mul<Volume<T>> for &Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
Source§impl<T> Mul<Volume<T>> for &InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
impl<T> Mul<Volume<T>> for &InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
Source§impl<T> Mul<Volume<T>> for &InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
impl<T> Mul<Volume<T>> for &InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
Source§impl<T> Mul<Volume<T>> for &InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
impl<T> Mul<Volume<T>> for &InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
Source§impl<T> Mul<Volume<T>> for &InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
impl<T> Mul<Volume<T>> for &InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
Source§impl<T> Mul<Volume<T>> for &InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
impl<T> Mul<Volume<T>> for &InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
Source§impl<T> Mul<Volume<T>> for &InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
impl<T> Mul<Volume<T>> for &InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
Source§impl<T> Mul<Volume<T>> for &Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
impl<T> Mul<Volume<T>> for &Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
Source§impl<T> Mul<Volume<T>> for Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
impl<T> Mul<Volume<T>> for Concentration<T>where
T: NumLike,
Multiplying a Concentration by a Volume returns a value of type Amount
Source§impl<T> Mul<Volume<T>> for Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
impl<T> Mul<Volume<T>> for Density<T>where
T: NumLike,
Multiplying a Density by a Volume returns a value of type Mass
Source§impl<T> Mul<Volume<T>> for InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
impl<T> Mul<Volume<T>> for InverseAmount<T>where
T: NumLike,
Multiplying a InverseAmount by a Volume returns a value of type MolarVolume
Source§impl<T> Mul<Volume<T>> for InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
impl<T> Mul<Volume<T>> for InverseArea<T>where
T: NumLike,
Multiplying a InverseArea by a Volume returns a value of type Distance
Source§impl<T> Mul<Volume<T>> for InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
impl<T> Mul<Volume<T>> for InverseDistance<T>where
T: NumLike,
Multiplying a InverseDistance by a Volume returns a value of type Area
Source§impl<T> Mul<Volume<T>> for InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
impl<T> Mul<Volume<T>> for InverseEnergy<T>where
T: NumLike,
Multiplying a InverseEnergy by a Volume returns a value of type InversePressure
Source§impl<T> Mul<Volume<T>> for InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
impl<T> Mul<Volume<T>> for InverseMass<T>where
T: NumLike,
Multiplying a InverseMass by a Volume returns a value of type VolumePerMass
Source§impl<T> Mul<Volume<T>> for InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
impl<T> Mul<Volume<T>> for InverseTorque<T>where
T: NumLike,
Multiplying a InverseTorque by a Volume returns a value of type InversePressure
Source§impl<T> Mul<Volume<T>> for Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
impl<T> Mul<Volume<T>> for Pressure<T>where
T: NumLike,
Multiplying a Pressure by a Volume returns a value of type Energy
Source§impl<T> Mul<Volume<T>> for f32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for f32
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for f64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for f64
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for i16
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for i16
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for i32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for i32
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for i64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for i64
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for u16
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for u16
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for u32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for u32
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<Volume<T>> for u64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<Volume<T>> for u64
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T: NumLike> MulAssign<T> for Volume<T>
Multiplies this unit value by a scalar
impl<T: NumLike> MulAssign<T> for Volume<T>
Multiplies this unit value by a scalar
Source§fn mul_assign(&mut self, rhs: T)
fn mul_assign(&mut self, rhs: T)
*= operation. Read moreSource§impl<T: NumLike> Neg for &Volume<T>
Flips the sign of this unit value (automatically clones the referenced data for convenient ergonomics)
impl<T: NumLike> Neg for &Volume<T>
Flips the sign of this unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T> Ord for Volume<T>
This struct implements the Ord trait if it’s member data type also has the Ord trait
impl<T> Ord for Volume<T>
This struct implements the Ord trait if it’s member data type also has the Ord trait
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl<T> PartialEq for Volume<T>
This struct implements the PartialEq trait if it’s member data type also has the PartialEq trait
impl<T> PartialEq for Volume<T>
This struct implements the PartialEq trait if it’s member data type also has the PartialEq trait
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
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§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)
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§impl<T: NumLike> Sub for Volume<T>
Subtracting two unit values of the same type returns a new unit value of the same type
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§impl<T: NumLike> SubAssign for Volume<T>
Subtracts the given unit value from this unit value
impl<T: NumLike> SubAssign for Volume<T>
Subtracts the given unit value from this unit value
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-= operation. Read moreimpl<T> Copy for Volume<T>
This struct implements the Copy marker trait if it’s member data type also has the Copy trait
impl<T> Eq for Volume<T>
This struct implements the core::cmp::Eq trait if it’s member data type also has the core::cmp::Eq trait