pub struct DoseEquivalent<T: NumLike> {
pub Sv: T,
}Expand description
The radiation dose equivalent unit type, defined as sieverts in SI units
Fields§
§Sv: TThe value of this Dose equivalent in sieverts
Implementations§
Source§impl<T> DoseEquivalent<T>where
T: NumLike,
impl<T> DoseEquivalent<T>where
T: NumLike,
Sourcepub fn unit_name() -> &'static str
pub fn unit_name() -> &'static str
Returns the standard unit name of dose equivalent: “sieverts”
Sourcepub fn unit_symbol() -> &'static str
pub fn unit_symbol() -> &'static str
Returns the abbreviated name or symbol of dose equivalent: “Sv” for sieverts
Sourcepub fn from_Sv(Sv: T) -> Self
pub fn from_Sv(Sv: T) -> Self
Returns a new dose equivalent value from the given number of sieverts
§Arguments
Sv- Any number-like type, representing a quantity of sieverts
Sourcepub fn from_sieverts(sieverts: T) -> Self
pub fn from_sieverts(sieverts: T) -> Self
Returns a new dose equivalent value from the given number of sieverts
§Arguments
sieverts- Any number-like type, representing a quantity of sieverts
Sourcepub fn to_sieverts(&self) -> T
pub fn to_sieverts(&self) -> T
Returns a copy of this dose equivalent value in sieverts
Source§impl<T> DoseEquivalent<T>
impl<T> DoseEquivalent<T>
Sourcepub fn to_mSv(&self) -> T
pub fn to_mSv(&self) -> T
Returns a copy of this dose equivalent value in millisieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_mSv(mSv: T) -> Self
pub fn from_mSv(mSv: T) -> Self
Returns a new dose equivalent value from the given number of millisieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
mSv- Any number-like type, representing a quantity of millisieverts
Sourcepub fn to_uSv(&self) -> T
pub fn to_uSv(&self) -> T
Returns a copy of this dose equivalent value in microsieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_uSv(uSv: T) -> Self
pub fn from_uSv(uSv: T) -> Self
Returns a new dose equivalent value from the given number of microsieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
uSv- Any number-like type, representing a quantity of microsieverts
Sourcepub fn to_nSv(&self) -> T
pub fn to_nSv(&self) -> T
Returns a copy of this dose equivalent value in nanosieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_nSv(nSv: T) -> Self
pub fn from_nSv(nSv: T) -> Self
Returns a new dose equivalent value from the given number of nanosieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
nSv- Any number-like type, representing a quantity of nanosieverts
Sourcepub fn to_kSv(&self) -> T
pub fn to_kSv(&self) -> T
Returns a copy of this dose equivalent value in kilosieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_kSv(kSv: T) -> Self
pub fn from_kSv(kSv: T) -> Self
Returns a new dose equivalent value from the given number of kilosieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
kSv- Any number-like type, representing a quantity of kilosieverts
Sourcepub fn to_MSv(&self) -> T
pub fn to_MSv(&self) -> T
Returns a copy of this dose equivalent value in megasieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_MSv(MSv: T) -> Self
pub fn from_MSv(MSv: T) -> Self
Returns a new dose equivalent value from the given number of megasieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
MSv- Any number-like type, representing a quantity of megasieverts
Sourcepub fn to_GSv(&self) -> T
pub fn to_GSv(&self) -> T
Returns a copy of this dose equivalent value in gigasieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_GSv(GSv: T) -> Self
pub fn from_GSv(GSv: T) -> Self
Returns a new dose equivalent value from the given number of gigasieverts
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
GSv- Any number-like type, representing a quantity of gigasieverts
Sourcepub fn to_rem(&self) -> T
pub fn to_rem(&self) -> T
Returns a copy of this dose equivalent value in roentgen equivalent man
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_rem(rem: T) -> Self
pub fn from_rem(rem: T) -> Self
Returns a new dose equivalent value from the given number of roentgen equivalent man
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
rem- Any number-like type, representing a quantity of roentgen equivalent man
Sourcepub fn to_mrem(&self) -> T
pub fn to_mrem(&self) -> T
Returns a copy of this dose equivalent value in milli-roentgen equivalents
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_mrem(mrem: T) -> Self
pub fn from_mrem(mrem: T) -> Self
Returns a new dose equivalent value from the given number of milli-roentgen equivalents
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
mrem- Any number-like type, representing a quantity of milli-roentgen equivalents
Sourcepub fn to_krem(&self) -> T
pub fn to_krem(&self) -> T
Returns a copy of this dose equivalent value in kilo-roentgen equivalents
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_krem(krem: T) -> Self
pub fn from_krem(krem: T) -> Self
Returns a new dose equivalent value from the given number of kilo-roentgen equivalents
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
krem- Any number-like type, representing a quantity of kilo-roentgen equivalents
Trait Implementations§
Source§impl<T: NumLike> Add for &DoseEquivalent<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 &DoseEquivalent<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 DoseEquivalent<T>
Adding two unit values of the same type returns a new unit value of the same type
impl<T: NumLike> Add for DoseEquivalent<T>
Adding two unit values of the same type returns a new unit value of the same type
Source§impl<T: NumLike> AddAssign for DoseEquivalent<T>
Adds the given unit value to this unit value
impl<T: NumLike> AddAssign for DoseEquivalent<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: Clone + NumLike> Clone for DoseEquivalent<T>
impl<T: Clone + NumLike> Clone for DoseEquivalent<T>
Source§fn clone(&self) -> DoseEquivalent<T>
fn clone(&self) -> DoseEquivalent<T>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<T> Display for DoseEquivalent<T>where
T: NumLike,
impl<T> Display for DoseEquivalent<T>where
T: NumLike,
Source§impl<T> Div<&DoseEquivalent<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
impl<T> Div<&DoseEquivalent<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
Source§impl<T> Div<&DoseEquivalent<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
impl<T> Div<&DoseEquivalent<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
Source§impl<T> Div<&T> for &DoseEquivalent<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
impl<T> Div<&T> for &DoseEquivalent<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
Source§impl<T> Div<&T> for DoseEquivalent<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
impl<T> Div<&T> for DoseEquivalent<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
Source§impl<T> Div<DoseEquivalent<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
impl<T> Div<DoseEquivalent<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
Source§impl<T> Div<DoseEquivalent<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
impl<T> Div<DoseEquivalent<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a DoseEquivalent returns a value of type Mass
Source§impl<T: NumLike> Div<T> for &DoseEquivalent<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 &DoseEquivalent<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 DoseEquivalent<T>
Dividing a unit value by a scalar value returns a unit value
impl<T: NumLike> Div<T> for DoseEquivalent<T>
Dividing a unit value by a scalar value returns a unit value
Source§impl<T: NumLike> Div for &DoseEquivalent<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 &DoseEquivalent<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 DoseEquivalent<T>
Dividing a unit value by another of the same type returns a scalar value
impl<T: NumLike> Div for DoseEquivalent<T>
Dividing a unit value by another of the same type returns a scalar value
Source§impl<T: NumLike> DivAssign<T> for DoseEquivalent<T>
Divides this unit value by a scalar
impl<T: NumLike> DivAssign<T> for DoseEquivalent<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 DoseEquivalent<T>
This struct implements the Hash trait if it’s member data type also has the Hash trait
impl<T> Hash for DoseEquivalent<T>
This struct implements the Hash trait if it’s member data type also has the Hash trait
Source§impl<T> Mul<&DoseEquivalent<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
impl<T> Mul<&DoseEquivalent<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
Source§impl<T> Mul<&DoseEquivalent<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
impl<T> Mul<&DoseEquivalent<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for f32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for f64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for i16
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for i32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for i64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for i8
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for u16
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for u32
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for u64
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&DoseEquivalent<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<&DoseEquivalent<T>> for u8
Multiplying a unit value by a scalar value returns a unit value (automatically clones the referenced data for convenient ergonomics)
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<&Mass<T>> for &DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
impl<T> Mul<&Mass<T>> for &DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
Source§impl<T> Mul<&Mass<T>> for DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
impl<T> Mul<&Mass<T>> for DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
Source§impl<T> Mul<&T> for &DoseEquivalent<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<&T> for &DoseEquivalent<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<&T> for DoseEquivalent<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<&T> for DoseEquivalent<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<DoseEquivalent<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
impl<T> Mul<DoseEquivalent<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
Source§impl<T> Mul<DoseEquivalent<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
impl<T> Mul<DoseEquivalent<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a DoseEquivalent returns a value of type Energy
Source§impl<T> Mul<DoseEquivalent<T>> for f32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for f32
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for f64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for f64
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for i16
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for i16
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for i32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for i32
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for i64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for i64
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for i8
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for i8
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for u16
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for u16
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for u32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for u32
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for u64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for u64
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<DoseEquivalent<T>> for u8
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<DoseEquivalent<T>> for u8
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = DoseEquivalent<T>
type Output = DoseEquivalent<T>
* operator.Source§impl<T> Mul<Mass<T>> for &DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
impl<T> Mul<Mass<T>> for &DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
Source§impl<T> Mul<Mass<T>> for DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
impl<T> Mul<Mass<T>> for DoseEquivalent<T>where
T: NumLike,
Multiplying a DoseEquivalent by a Mass returns a value of type Energy
Source§impl<T: NumLike> Mul<T> for &DoseEquivalent<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 &DoseEquivalent<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 DoseEquivalent<T>
Multiplying a unit value by a scalar value returns a unit value
impl<T: NumLike> Mul<T> for DoseEquivalent<T>
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T: NumLike> MulAssign<T> for DoseEquivalent<T>
Multiplies this unit value by a scalar
impl<T: NumLike> MulAssign<T> for DoseEquivalent<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 &DoseEquivalent<T>
Flips the sign of this unit value (automatically clones the referenced data for convenient ergonomics)
impl<T: NumLike> Neg for &DoseEquivalent<T>
Flips the sign of this unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T: NumLike> Neg for DoseEquivalent<T>
Flips the sign of this unit value
impl<T: NumLike> Neg for DoseEquivalent<T>
Flips the sign of this unit value
Source§impl<T> Ord for DoseEquivalent<T>
This struct implements the Ord trait if it’s member data type also has the Ord trait
impl<T> Ord for DoseEquivalent<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 DoseEquivalent<T>
This struct implements the PartialEq trait if it’s member data type also has the PartialEq trait
impl<T> PartialEq for DoseEquivalent<T>
This struct implements the PartialEq trait if it’s member data type also has the PartialEq trait
Source§impl<T> PartialOrd for DoseEquivalent<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 DoseEquivalent<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 &DoseEquivalent<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 &DoseEquivalent<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 DoseEquivalent<T>
Subtracting two unit values of the same type returns a new unit value of the same type
impl<T: NumLike> Sub for DoseEquivalent<T>
Subtracting two unit values of the same type returns a new unit value of the same type
Source§impl<T: NumLike> SubAssign for DoseEquivalent<T>
Subtracts the given unit value from this unit value
impl<T: NumLike> SubAssign for DoseEquivalent<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 DoseEquivalent<T>
This struct implements the Copy marker trait if it’s member data type also has the Copy trait
impl<T> Eq for DoseEquivalent<T>
This struct implements the core::cmp::Eq trait if it’s member data type also has the core::cmp::Eq trait