pub struct AbsorbedDose<T: NumLike> {
pub Gy: T,
}Expand description
The absorbed radiation dose unit type, defined as grays in SI units
Fields§
§Gy: TThe value of this Absorbed dose in grays
Implementations§
Source§impl<T> AbsorbedDose<T>where
T: NumLike,
impl<T> AbsorbedDose<T>where
T: NumLike,
Sourcepub fn unit_symbol() -> &'static str
pub fn unit_symbol() -> &'static str
Returns the abbreviated name or symbol of absorbed dose: “Gy” for grays
Sourcepub fn from_Gy(Gy: T) -> Self
pub fn from_Gy(Gy: T) -> Self
Returns a new absorbed dose value from the given number of grays
§Arguments
Gy- Any number-like type, representing a quantity of grays
Sourcepub fn from_grays(grays: T) -> Self
pub fn from_grays(grays: T) -> Self
Returns a new absorbed dose value from the given number of grays
§Arguments
grays- Any number-like type, representing a quantity of grays
Source§impl<T> AbsorbedDose<T>
impl<T> AbsorbedDose<T>
Sourcepub fn to_mGy(&self) -> T
pub fn to_mGy(&self) -> T
Returns a copy of this absorbed dose value in milligrays
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_mGy(mGy: T) -> Self
pub fn from_mGy(mGy: T) -> Self
Returns a new absorbed dose value from the given number of milligrays
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
mGy- Any number-like type, representing a quantity of milligrays
Sourcepub fn to_uGy(&self) -> T
pub fn to_uGy(&self) -> T
Returns a copy of this absorbed dose value in micrograys
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_uGy(uGy: T) -> Self
pub fn from_uGy(uGy: T) -> Self
Returns a new absorbed dose value from the given number of micrograys
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
uGy- Any number-like type, representing a quantity of micrograys
Sourcepub fn to_nGy(&self) -> T
pub fn to_nGy(&self) -> T
Returns a copy of this absorbed dose value in nanograys
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_nGy(nGy: T) -> Self
pub fn from_nGy(nGy: T) -> Self
Returns a new absorbed dose value from the given number of nanograys
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
nGy- Any number-like type, representing a quantity of nanograys
Sourcepub fn to_kGy(&self) -> T
pub fn to_kGy(&self) -> T
Returns a copy of this absorbed dose value in kilograys
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_kGy(kGy: T) -> Self
pub fn from_kGy(kGy: T) -> Self
Returns a new absorbed dose value from the given number of kilograys
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
kGy- Any number-like type, representing a quantity of kilograys
Sourcepub fn to_MGy(&self) -> T
pub fn to_MGy(&self) -> T
Returns a copy of this absorbed dose value in megagrays
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_MGy(MGy: T) -> Self
pub fn from_MGy(MGy: T) -> Self
Returns a new absorbed dose value from the given number of megagrays
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
MGy- Any number-like type, representing a quantity of megagrays
Sourcepub fn to_GGy(&self) -> T
pub fn to_GGy(&self) -> T
Returns a copy of this absorbed dose value in gigagrays
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_GGy(GGy: T) -> Self
pub fn from_GGy(GGy: T) -> Self
Returns a new absorbed dose value from the given number of gigagrays
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
GGy- Any number-like type, representing a quantity of gigagrays
Sourcepub fn to_rad(&self) -> T
pub fn to_rad(&self) -> T
Returns a copy of this absorbed dose value in rads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_rad(rad: T) -> Self
pub fn from_rad(rad: T) -> Self
Returns a new absorbed dose value from the given number of rads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
rad- Any number-like type, representing a quantity of rads
Sourcepub fn to_krad(&self) -> T
pub fn to_krad(&self) -> T
Returns a copy of this absorbed dose value in kilorads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_krad(krad: T) -> Self
pub fn from_krad(krad: T) -> Self
Returns a new absorbed dose value from the given number of kilorads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
krad- Any number-like type, representing a quantity of kilorads
Sourcepub fn to_mrad(&self) -> T
pub fn to_mrad(&self) -> T
Returns a copy of this absorbed dose value in millirads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_mrad(mrad: T) -> Self
pub fn from_mrad(mrad: T) -> Self
Returns a new absorbed dose value from the given number of millirads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
mrad- Any number-like type, representing a quantity of millirads
Sourcepub fn to_urad(&self) -> T
pub fn to_urad(&self) -> T
Returns a copy of this absorbed dose value in microrads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
Sourcepub fn from_urad(urad: T) -> Self
pub fn from_urad(urad: T) -> Self
Returns a new absorbed dose value from the given number of microrads
Note: This method is not available for f32 and other number types lacking the From<f64> trait
§Arguments
urad- Any number-like type, representing a quantity of microrads
Trait Implementations§
Source§impl<T: NumLike> Add for &AbsorbedDose<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 &AbsorbedDose<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 AbsorbedDose<T>
Adding two unit values of the same type returns a new unit value of the same type
impl<T: NumLike> Add for AbsorbedDose<T>
Adding two unit values of the same type returns a new unit value of the same type
Source§impl<T: NumLike> AddAssign for AbsorbedDose<T>
Adds the given unit value to this unit value
impl<T: NumLike> AddAssign for AbsorbedDose<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 AbsorbedDose<T>
impl<T: Clone + NumLike> Clone for AbsorbedDose<T>
Source§fn clone(&self) -> AbsorbedDose<T>
fn clone(&self) -> AbsorbedDose<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 AbsorbedDose<T>where
T: NumLike,
impl<T> Display for AbsorbedDose<T>where
T: NumLike,
Source§impl<T> Div<&AbsorbedDose<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
impl<T> Div<&AbsorbedDose<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
Source§impl<T> Div<&AbsorbedDose<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
impl<T> Div<&AbsorbedDose<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
Source§impl<T> Div<&T> for &AbsorbedDose<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
impl<T> Div<&T> for &AbsorbedDose<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
Source§impl<T> Div<&T> for AbsorbedDose<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
impl<T> Div<&T> for AbsorbedDose<T>where
T: NumLike,
Dividing a unit value by a scalar value returns a unit value
Source§impl<T> Div<AbsorbedDose<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
impl<T> Div<AbsorbedDose<T>> for &Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
Source§impl<T> Div<AbsorbedDose<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
impl<T> Div<AbsorbedDose<T>> for Energy<T>where
T: NumLike,
Dividing a Energy by a AbsorbedDose returns a value of type Mass
Source§impl<T: NumLike> Div<T> for &AbsorbedDose<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 &AbsorbedDose<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 AbsorbedDose<T>
Dividing a unit value by a scalar value returns a unit value
impl<T: NumLike> Div<T> for AbsorbedDose<T>
Dividing a unit value by a scalar value returns a unit value
Source§impl<T: NumLike> Div for &AbsorbedDose<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 &AbsorbedDose<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 AbsorbedDose<T>
Dividing a unit value by another of the same type returns a scalar value
impl<T: NumLike> Div for AbsorbedDose<T>
Dividing a unit value by another of the same type returns a scalar value
Source§impl<T: NumLike> DivAssign<T> for AbsorbedDose<T>
Divides this unit value by a scalar
impl<T: NumLike> DivAssign<T> for AbsorbedDose<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 AbsorbedDose<T>
This struct implements the Hash trait if it’s member data type also has the Hash trait
impl<T> Hash for AbsorbedDose<T>
This struct implements the Hash trait if it’s member data type also has the Hash trait
Source§impl<T> Mul<&AbsorbedDose<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
impl<T> Mul<&AbsorbedDose<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
Source§impl<T> Mul<&AbsorbedDose<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
impl<T> Mul<&AbsorbedDose<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&AbsorbedDose<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<&AbsorbedDose<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 = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<&Mass<T>> for &AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
impl<T> Mul<&Mass<T>> for &AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
Source§impl<T> Mul<&Mass<T>> for AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
impl<T> Mul<&Mass<T>> for AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
Source§impl<T> Mul<&T> for &AbsorbedDose<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<&T> for &AbsorbedDose<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<&T> for AbsorbedDose<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<&T> for AbsorbedDose<T>where
T: NumLike,
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T> Mul<AbsorbedDose<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
impl<T> Mul<AbsorbedDose<T>> for &Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
Source§impl<T> Mul<AbsorbedDose<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
impl<T> Mul<AbsorbedDose<T>> for Mass<T>where
T: NumLike,
Multiplying a Mass by a AbsorbedDose returns a value of type Energy
Source§impl<T> Mul<AbsorbedDose<T>> for f32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for f32
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for f64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for f64
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for i16
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for i16
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for i32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for i32
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for i64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for i64
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for i8
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for i8
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for u16
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for u16
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for u32
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for u32
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for u64
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for u64
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<AbsorbedDose<T>> for u8
Multiplying a unit value by a scalar value returns a unit value
impl<T> Mul<AbsorbedDose<T>> for u8
Multiplying a unit value by a scalar value returns a unit value
Source§type Output = AbsorbedDose<T>
type Output = AbsorbedDose<T>
* operator.Source§impl<T> Mul<Mass<T>> for &AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
impl<T> Mul<Mass<T>> for &AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
Source§impl<T> Mul<Mass<T>> for AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
impl<T> Mul<Mass<T>> for AbsorbedDose<T>where
T: NumLike,
Multiplying a AbsorbedDose by a Mass returns a value of type Energy
Source§impl<T: NumLike> Mul<T> for &AbsorbedDose<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 &AbsorbedDose<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 AbsorbedDose<T>
Multiplying a unit value by a scalar value returns a unit value
impl<T: NumLike> Mul<T> for AbsorbedDose<T>
Multiplying a unit value by a scalar value returns a unit value
Source§impl<T: NumLike> MulAssign<T> for AbsorbedDose<T>
Multiplies this unit value by a scalar
impl<T: NumLike> MulAssign<T> for AbsorbedDose<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 &AbsorbedDose<T>
Flips the sign of this unit value (automatically clones the referenced data for convenient ergonomics)
impl<T: NumLike> Neg for &AbsorbedDose<T>
Flips the sign of this unit value (automatically clones the referenced data for convenient ergonomics)
Source§impl<T: NumLike> Neg for AbsorbedDose<T>
Flips the sign of this unit value
impl<T: NumLike> Neg for AbsorbedDose<T>
Flips the sign of this unit value
Source§impl<T> Ord for AbsorbedDose<T>
This struct implements the Ord trait if it’s member data type also has the Ord trait
impl<T> Ord for AbsorbedDose<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 AbsorbedDose<T>
This struct implements the PartialEq trait if it’s member data type also has the PartialEq trait
impl<T> PartialEq for AbsorbedDose<T>
This struct implements the PartialEq trait if it’s member data type also has the PartialEq trait
Source§impl<T> PartialOrd for AbsorbedDose<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 AbsorbedDose<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 &AbsorbedDose<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 &AbsorbedDose<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 AbsorbedDose<T>
Subtracting two unit values of the same type returns a new unit value of the same type
impl<T: NumLike> Sub for AbsorbedDose<T>
Subtracting two unit values of the same type returns a new unit value of the same type
Source§impl<T: NumLike> SubAssign for AbsorbedDose<T>
Subtracts the given unit value from this unit value
impl<T: NumLike> SubAssign for AbsorbedDose<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 AbsorbedDose<T>
This struct implements the Copy marker trait if it’s member data type also has the Copy trait
impl<T> Eq for AbsorbedDose<T>
This struct implements the core::cmp::Eq trait if it’s member data type also has the core::cmp::Eq trait