pub struct ExchangeCorrection { /* private fields */ }Expand description
Optional exchange correction (module docs, “Optional exchange
correction”), applied for kinetic energies strictly below
applies_below_ev.
Implementations§
Source§impl ExchangeCorrection
impl ExchangeCorrection
Sourcepub fn new(applies_below_ev: f64) -> Result<Self, ElectronDataError>
pub fn new(applies_below_ev: f64) -> Result<Self, ElectronDataError>
A correction applied for T < applies_below_ev (finite, positive).
Sourcepub fn applies_below_ev(&self) -> f64
pub fn applies_below_ev(&self) -> f64
The energy below which the correction is applied, eV.
Trait Implementations§
Source§impl Clone for ExchangeCorrection
impl Clone for ExchangeCorrection
Source§fn clone(&self) -> ExchangeCorrection
fn clone(&self) -> ExchangeCorrection
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 ExchangeCorrection
Source§impl Debug for ExchangeCorrection
impl Debug for ExchangeCorrection
Source§impl PartialEq for ExchangeCorrection
impl PartialEq for ExchangeCorrection
impl StructuralPartialEq for ExchangeCorrection
Auto Trait Implementations§
impl Freeze for ExchangeCorrection
impl RefUnwindSafe for ExchangeCorrection
impl Send for ExchangeCorrection
impl Sync for ExchangeCorrection
impl Unpin for ExchangeCorrection
impl UnsafeUnpin for ExchangeCorrection
impl UnwindSafe for ExchangeCorrection
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