pub struct PreparedStructuralSpectrumInputView<'a> {
pub x_deg: &'a [f64],
pub instrument: ConstantWavelengthInstrument,
pub axial_geometry: Option<FcjGeometry>,
pub position_correction: MonochromaticPositionCorrection,
pub contributions: &'a [CwContributionsView<'a>],
pub support: SupportPolicy,
}Expand description
Borrowed dynamic inputs for one prepared fixed-wavelength spectrum.
Fields§
§x_deg: &'a [f64]Sorted pattern grid in degrees 2theta.
instrument: ConstantWavelengthInstrumentReference instrument; each component replaces only its wavelength.
axial_geometry: Option<FcjGeometry>Optional Finger–Cox–Jephcoat axial-divergence geometry.
position_correction: MonochromaticPositionCorrectionExplicit zero/sample-displacement position correction.
contributions: &'a [CwContributionsView<'a>]One sample-physics contribution batch per wavelength component.
support: SupportPolicyExact finite profile-support policy.
Trait Implementations§
Source§impl<'a> Clone for PreparedStructuralSpectrumInputView<'a>
impl<'a> Clone for PreparedStructuralSpectrumInputView<'a>
Source§fn clone(&self) -> PreparedStructuralSpectrumInputView<'a>
fn clone(&self) -> PreparedStructuralSpectrumInputView<'a>
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<'a> Copy for PreparedStructuralSpectrumInputView<'a>
Auto Trait Implementations§
impl<'a> Freeze for PreparedStructuralSpectrumInputView<'a>
impl<'a> RefUnwindSafe for PreparedStructuralSpectrumInputView<'a>
impl<'a> Send for PreparedStructuralSpectrumInputView<'a>
impl<'a> Sync for PreparedStructuralSpectrumInputView<'a>
impl<'a> Unpin for PreparedStructuralSpectrumInputView<'a>
impl<'a> UnsafeUnpin for PreparedStructuralSpectrumInputView<'a>
impl<'a> UnwindSafe for PreparedStructuralSpectrumInputView<'a>
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