pub struct StructuralPatternInputView<'a> {Show 20 fields
pub x_deg: &'a [f64],
pub hkl: &'a [[i32; 3]],
pub multiplicity: &'a [usize],
pub fractional_xyz: &'a [[f64; 3]],
pub occupancy: &'a [f64],
pub u_iso_angstrom2: &'a [f64],
pub anisotropic_mask: &'a [bool],
pub u_aniso_cif_angstrom2: &'a [[f64; 6]],
pub scattering_species: &'a [&'a str],
pub scattering_real_offset: &'a [f64],
pub scattering_imag_offset: &'a [f64],
pub scale: f64,
pub coordinate_tolerance: f64,
pub instrument: ConstantWavelengthInstrument,
pub axial_geometry: Option<FcjGeometry>,
pub position_correction: MonochromaticPositionCorrection,
pub correction_model: IntegratedIntensityCorrectionModel,
pub scattering_model: BuiltInScatteringModel,
pub contributions: CwContributionsView<'a>,
pub support: SupportPolicy,
}Expand description
Borrowed structure, reflection, profile, and sample-physics inputs.
Fields§
§x_deg: &'a [f64]Sorted pattern grid in degrees 2theta.
hkl: &'a [[i32; 3]]Canonical Miller indices.
multiplicity: &'a [usize]Powder multiplicity for each reflection.
fractional_xyz: &'a [[f64; 3]]Asymmetric-unit fractional coordinates.
occupancy: &'a [f64]Asymmetric-site occupancies.
u_iso_angstrom2: &'a [f64]Asymmetric-site isotropic displacement in square ångströms.
anisotropic_mask: &'a [bool]True for asymmetric sites described by fixed CIF U tensors.
u_aniso_cif_angstrom2: &'a [[f64; 6]]CIF U tensors in component order 11,22,33,23,13,12.
scattering_species: &'a [&'a str]Exact built-in table key for every asymmetric site.
scattering_real_offset: &'a [f64]Fixed real X-ray dispersion offset for every site, or empty when absent.
scattering_imag_offset: &'a [f64]Fixed imaginary X-ray dispersion offset for every site, or empty when absent.
scale: f64Structural phase scale.
coordinate_tolerance: f64Fixed symmetry-expansion deduplication tolerance.
instrument: ConstantWavelengthInstrumentMonochromatic CW instrument/profile parameters.
axial_geometry: Option<FcjGeometry>Optional Finger–Cox–Jephcoat axial-divergence geometry.
position_correction: MonochromaticPositionCorrectionExplicit zero/sample-displacement position correction.
correction_model: IntegratedIntensityCorrectionModelExplicit integrated-intensity correction model.
scattering_model: BuiltInScatteringModelBuilt-in native scattering selection.
contributions: CwContributionsView<'a>Vectorized sample-physics contribution batch.
support: SupportPolicyExact finite profile-support policy.
Trait Implementations§
Source§impl<'a> Clone for StructuralPatternInputView<'a>
impl<'a> Clone for StructuralPatternInputView<'a>
Source§fn clone(&self) -> StructuralPatternInputView<'a>
fn clone(&self) -> StructuralPatternInputView<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl<'a> Copy for StructuralPatternInputView<'a>
Auto Trait Implementations§
impl<'a> Freeze for StructuralPatternInputView<'a>
impl<'a> RefUnwindSafe for StructuralPatternInputView<'a>
impl<'a> Send for StructuralPatternInputView<'a>
impl<'a> Sync for StructuralPatternInputView<'a>
impl<'a> Unpin for StructuralPatternInputView<'a>
impl<'a> UnsafeUnpin for StructuralPatternInputView<'a>
impl<'a> UnwindSafe for StructuralPatternInputView<'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
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> ⓘ
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> ⓘ
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