pub struct Corrections {
pub exchange: bool,
pub correlation_polarization: Option<CorrelationPolarization>,
}Expand description
Which corrections to add to the static potential. The default is none.
Fields§
§exchange: boolFurness-McCarthy exchange on/off.
correlation_polarization: Option<CorrelationPolarization>Correlation-polarization, None for off.
Implementations§
Trait Implementations§
Source§impl Clone for Corrections
impl Clone for Corrections
Source§fn clone(&self) -> Corrections
fn clone(&self) -> Corrections
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 Debug for Corrections
impl Debug for Corrections
Source§impl Default for Corrections
impl Default for Corrections
Source§fn default() -> Corrections
fn default() -> Corrections
Returns the “default value” for a type. Read more
Source§impl PartialEq for Corrections
impl PartialEq for Corrections
impl StructuralPartialEq for Corrections
Auto Trait Implementations§
impl Freeze for Corrections
impl RefUnwindSafe for Corrections
impl Send for Corrections
impl Sync for Corrections
impl Unpin for Corrections
impl UnsafeUnpin for Corrections
impl UnwindSafe for Corrections
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