pub struct CompendiumIsotope {
pub isotope: String,
pub zaid: String,
pub abundance: f64,
pub isotopic_weight_fraction: f64,
pub weight_fraction: f64,
}Expand description
One isotope row of an element inside a compendium material.
Fields§
§isotope: StringIsotope name as given in the dataset ("H1"-style).
zaid: StringMCNP-style ZAID; serialized as a JSON string upstream (“1001”).
abundance: f64Natural abundance of the isotope within its element (isotopic atom fraction as tabulated upstream).
isotopic_weight_fraction: f64Mass fraction within the parent element.
weight_fraction: f64Mass fraction of the whole material.
Trait Implementations§
Source§impl Clone for CompendiumIsotope
impl Clone for CompendiumIsotope
Source§fn clone(&self) -> CompendiumIsotope
fn clone(&self) -> CompendiumIsotope
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 moreSource§impl Debug for CompendiumIsotope
impl Debug for CompendiumIsotope
Source§impl<'de> Deserialize<'de> for CompendiumIsotope
impl<'de> Deserialize<'de> for CompendiumIsotope
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
Auto Trait Implementations§
impl Freeze for CompendiumIsotope
impl RefUnwindSafe for CompendiumIsotope
impl Send for CompendiumIsotope
impl Sync for CompendiumIsotope
impl Unpin for CompendiumIsotope
impl UnsafeUnpin for CompendiumIsotope
impl UnwindSafe for CompendiumIsotope
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