pub struct MonochromaticPositionCorrection {
pub zero_shift_deg: f64,
pub bragg_brentano_mm: Option<(f64, f64)>,
pub debye_scherrer_micrometre: Option<(f64, f64, f64)>,
}Expand description
Monochromatic peak-position corrections evaluated with structural geometry.
Fields§
§zero_shift_deg: f64Constant additive shift in degrees 2theta.
bragg_brentano_mm: Option<(f64, f64)>Optional Bragg–Brentano (sample displacement, goniometer radius) in mm.
debye_scherrer_micrometre: Option<(f64, f64, f64)>Optional Debye–Scherrer (X, Y, radius) with displacements in micrometres
and the goniometer radius in millimetres.
Trait Implementations§
Source§impl Clone for MonochromaticPositionCorrection
impl Clone for MonochromaticPositionCorrection
Source§fn clone(&self) -> MonochromaticPositionCorrection
fn clone(&self) -> MonochromaticPositionCorrection
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 MonochromaticPositionCorrection
impl StructuralPartialEq for MonochromaticPositionCorrection
Auto Trait Implementations§
impl Freeze for MonochromaticPositionCorrection
impl RefUnwindSafe for MonochromaticPositionCorrection
impl Send for MonochromaticPositionCorrection
impl Sync for MonochromaticPositionCorrection
impl Unpin for MonochromaticPositionCorrection
impl UnsafeUnpin for MonochromaticPositionCorrection
impl UnwindSafe for MonochromaticPositionCorrection
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
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