pub enum DoseComponent {
Boron,
Nitrogen,
Hydrogen,
Photon,
}Expand description
The four physical dose groups retained before biological weighting.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DoseComponent
impl Clone for DoseComponent
Source§fn clone(&self) -> DoseComponent
fn clone(&self) -> DoseComponent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DoseComponent
Source§impl Debug for DoseComponent
impl Debug for DoseComponent
Source§impl<'de> Deserialize<'de> for DoseComponent
impl<'de> Deserialize<'de> for DoseComponent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DoseComponent
Source§impl Ord for DoseComponent
impl Ord for DoseComponent
Source§fn cmp(&self, other: &DoseComponent) -> Ordering
fn cmp(&self, other: &DoseComponent) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DoseComponent
impl PartialEq for DoseComponent
Source§impl PartialOrd for DoseComponent
impl PartialOrd for DoseComponent
Source§impl Serialize for DoseComponent
impl Serialize for DoseComponent
impl StructuralPartialEq for DoseComponent
Auto Trait Implementations§
impl Freeze for DoseComponent
impl RefUnwindSafe for DoseComponent
impl Send for DoseComponent
impl Sync for DoseComponent
impl Unpin for DoseComponent
impl UnsafeUnpin for DoseComponent
impl UnwindSafe for DoseComponent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more