pub struct PreparedStructuralModelInputView<'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 data for one phase model in a multiphase operation.
Fields§
§x_deg: &'a [f64]Sorted pattern grid in degrees 2theta.
instrument: ConstantWavelengthInstrumentReference constant-wavelength instrument.
axial_geometry: Option<FcjGeometry>Optional axial-divergence geometry.
position_correction: MonochromaticPositionCorrectionExplicit position correction.
contributions: &'a [CwContributionsView<'a>]One contribution batch for monochromatic models, or one per component.
support: SupportPolicyExact finite profile-support policy.
Trait Implementations§
Source§impl<'a> Clone for PreparedStructuralModelInputView<'a>
impl<'a> Clone for PreparedStructuralModelInputView<'a>
Source§fn clone(&self) -> PreparedStructuralModelInputView<'a>
fn clone(&self) -> PreparedStructuralModelInputView<'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 PreparedStructuralModelInputView<'a>
Auto Trait Implementations§
impl<'a> Freeze for PreparedStructuralModelInputView<'a>
impl<'a> RefUnwindSafe for PreparedStructuralModelInputView<'a>
impl<'a> Send for PreparedStructuralModelInputView<'a>
impl<'a> Sync for PreparedStructuralModelInputView<'a>
impl<'a> Unpin for PreparedStructuralModelInputView<'a>
impl<'a> UnsafeUnpin for PreparedStructuralModelInputView<'a>
impl<'a> UnwindSafe for PreparedStructuralModelInputView<'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