pub struct DoseConfig {
pub depth: Option<DepthDoseConfig>,
pub transmission: bool,
}Expand description
Settings of the dose, depth-dose and transmission tallies.
Fields§
§depth: Option<DepthDoseConfig>Depth-dose profile, if wanted. The per-layer totals are always on.
transmission: boolCount electrons crossing each interface, with spectra on the tally’s escape energy binning.
Trait Implementations§
Source§impl Clone for DoseConfig
impl Clone for DoseConfig
Source§fn clone(&self) -> DoseConfig
fn clone(&self) -> DoseConfig
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 DoseConfig
Source§impl Debug for DoseConfig
impl Debug for DoseConfig
Source§impl<'de> Deserialize<'de> for DoseConfig
impl<'de> Deserialize<'de> for DoseConfig
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
Source§impl PartialEq for DoseConfig
impl PartialEq for DoseConfig
Source§impl Serialize for DoseConfig
impl Serialize for DoseConfig
impl StructuralPartialEq for DoseConfig
Auto Trait Implementations§
impl Freeze for DoseConfig
impl RefUnwindSafe for DoseConfig
impl Send for DoseConfig
impl Sync for DoseConfig
impl Unpin for DoseConfig
impl UnsafeUnpin for DoseConfig
impl UnwindSafe for DoseConfig
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