pub struct LayerDose {
pub index: usize,
pub name: Option<String>,
pub thickness_m: Option<f64>,
pub areal_mass_kg_m2: Option<f64>,
pub energy_ev: Estimate,
pub dose_gy_m2: Option<Estimate>,
}Expand description
Energy and dose in one layer, per primary.
Fields§
§index: usizeLayer index (0 = front).
name: Option<String>The material’s name, if it has one.
thickness_m: Option<f64>Thickness, m; None for a semi-infinite layer.
areal_mass_kg_m2: Option<f64>Areal mass density ρ t, kg/m²; None for a semi-infinite layer.
energy_ev: EstimateEnergy deposited in the layer per primary, eV.
dose_gy_m2: Option<Estimate>Absorbed dose per unit incident fluence, Gy m²; None for a
semi-infinite layer.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LayerDose
impl<'de> Deserialize<'de> for LayerDose
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 StructuralPartialEq for LayerDose
Auto Trait Implementations§
impl Freeze for LayerDose
impl RefUnwindSafe for LayerDose
impl Send for LayerDose
impl Sync for LayerDose
impl Unpin for LayerDose
impl UnsafeUnpin for LayerDose
impl UnwindSafe for LayerDose
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more