pub struct ExcludedRange {
pub energy_ev: (f64, f64),
pub reason: String,
}Expand description
An energy range a fit leaves out of a material’s sample run.
The fit leaves out the sample run’s bins that the mean arrival time of a neutron of an energy in the range can fall in, at the fitted clock offsets, flight path and pulse.
Fields§
§energy_ev: (f64, f64)The range’s ends in eV, the lower first, both positive.
reason: StringThe evidence that the evaluated cross section is wrong there; not blank.
Trait Implementations§
Source§impl Clone for ExcludedRange
impl Clone for ExcludedRange
Source§fn clone(&self) -> ExcludedRange
fn clone(&self) -> ExcludedRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExcludedRange
impl Debug for ExcludedRange
Source§impl<'de> Deserialize<'de> for ExcludedRange
impl<'de> Deserialize<'de> for ExcludedRange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExcludedRange
impl PartialEq for ExcludedRange
Source§impl Serialize for ExcludedRange
impl Serialize for ExcludedRange
impl StructuralPartialEq for ExcludedRange
Auto Trait Implementations§
impl Freeze for ExcludedRange
impl RefUnwindSafe for ExcludedRange
impl Send for ExcludedRange
impl Sync for ExcludedRange
impl Unpin for ExcludedRange
impl UnsafeUnpin for ExcludedRange
impl UnwindSafe for ExcludedRange
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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