pub struct NoCorrection;Expand description
No correction: factor exactly 1.
Trait Implementations§
Source§impl Clone for NoCorrection
impl Clone for NoCorrection
Source§fn clone(&self) -> NoCorrection
fn clone(&self) -> NoCorrection
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 CompoundCorrection for NoCorrection
impl CompoundCorrection for NoCorrection
Source§fn factor(&self, _: &Material, _: &Ion, _: f64) -> f64
fn factor(&self, _: &Material, _: &Ion, _: f64) -> f64
Multiplicative factor at the given ion energy. Must be finite and
non-negative (zero is allowed);
bragg_cross_section_per_atom rejects
anything else with StoppingError::InvalidParameter.impl Copy for NoCorrection
Source§impl Debug for NoCorrection
impl Debug for NoCorrection
Source§impl Default for NoCorrection
impl Default for NoCorrection
Source§fn default() -> NoCorrection
fn default() -> NoCorrection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoCorrection
impl RefUnwindSafe for NoCorrection
impl Send for NoCorrection
impl Sync for NoCorrection
impl Unpin for NoCorrection
impl UnsafeUnpin for NoCorrection
impl UnwindSafe for NoCorrection
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