pub enum BuiltInScatteringModel {
XrayNonResonant,
NeutronNuclear,
}Expand description
Built-in native scattering model selected without a Python callback.
Variants§
XrayNonResonant
Non-resonant Waasmaier–Kirfel X-ray form factors.
NeutronNuclear
Constant bound coherent nuclear-neutron scattering lengths.
Trait Implementations§
Source§impl Clone for BuiltInScatteringModel
impl Clone for BuiltInScatteringModel
Source§fn clone(&self) -> BuiltInScatteringModel
fn clone(&self) -> BuiltInScatteringModel
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 BuiltInScatteringModel
Source§impl Debug for BuiltInScatteringModel
impl Debug for BuiltInScatteringModel
impl Eq for BuiltInScatteringModel
Source§impl PartialEq for BuiltInScatteringModel
impl PartialEq for BuiltInScatteringModel
impl StructuralPartialEq for BuiltInScatteringModel
Auto Trait Implementations§
impl Freeze for BuiltInScatteringModel
impl RefUnwindSafe for BuiltInScatteringModel
impl Send for BuiltInScatteringModel
impl Sync for BuiltInScatteringModel
impl Unpin for BuiltInScatteringModel
impl UnsafeUnpin for BuiltInScatteringModel
impl UnwindSafe for BuiltInScatteringModel
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