pub enum ScatterSource {
FullDetector,
Measured {
total: [Vec<f64>; 2],
photons: Option<[Vec<f64>; 2]>,
},
}Expand description
Detector coverage for the environment’s scattered neutrons.
Variants§
FullDetector
The regions partition all illuminated detector pixels on the same clock.
Measured
Detector-wide mean counts per pixel before live losses on the regions’ clock, open then sample.
Trait Implementations§
Source§impl Clone for ScatterSource
impl Clone for ScatterSource
Source§fn clone(&self) -> ScatterSource
fn clone(&self) -> ScatterSource
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 ScatterSource
impl Debug for ScatterSource
Source§impl PartialEq for ScatterSource
impl PartialEq for ScatterSource
impl StructuralPartialEq for ScatterSource
Auto Trait Implementations§
impl Freeze for ScatterSource
impl RefUnwindSafe for ScatterSource
impl Send for ScatterSource
impl Sync for ScatterSource
impl Unpin for ScatterSource
impl UnsafeUnpin for ScatterSource
impl UnwindSafe for ScatterSource
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