pub enum StragglingModel {
Bohr,
BohrRelativistic,
}Expand description
Straggling model choice.
Variants§
Bohr
Bohr, non-relativistic.
BohrRelativistic
Bohr with the relativistic factor (1 - β²/2) / (1 - β²). The same
correction appears in J. F. Ziegler, J. P. Biersack, M. D. Ziegler,
SRIM: The Stopping and Range of Ions in Matter (SRIM Co., 2015),
Eq. 7-47, p. 7-25, written there with β = c²/v².
Trait Implementations§
Source§impl Clone for StragglingModel
impl Clone for StragglingModel
Source§fn clone(&self) -> StragglingModel
fn clone(&self) -> StragglingModel
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 StragglingModel
Source§impl Debug for StragglingModel
impl Debug for StragglingModel
Source§impl Default for StragglingModel
impl Default for StragglingModel
Source§fn default() -> StragglingModel
fn default() -> StragglingModel
Returns the “default value” for a type. Read more
impl Eq for StragglingModel
Source§impl PartialEq for StragglingModel
impl PartialEq for StragglingModel
impl StructuralPartialEq for StragglingModel
Auto Trait Implementations§
impl Freeze for StragglingModel
impl RefUnwindSafe for StragglingModel
impl Send for StragglingModel
impl Sync for StragglingModel
impl Unpin for StragglingModel
impl UnsafeUnpin for StragglingModel
impl UnwindSafe for StragglingModel
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,
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