pub struct TofPowderData {
pub pattern: TofPatternRecord,
pub format: TofPowderFormat,
pub source_path: Option<PathBuf>,
pub bank: Option<usize>,
pub logarithmic_grid: bool,
}Expand description
One observed TOF powder dataset with an explicitly microsecond-domain axis.
Fields§
§pattern: TofPatternRecordValidated bin-center TOF density pattern; it cannot be passed as a CW pattern.
format: TofPowderFormatConcrete detected/selected input convention.
source_path: Option<PathBuf>Source path when read from a file.
bank: Option<usize>Selected positive GSAS bank, absent for plain columns.
logarithmic_grid: boolTrue when the selected bank declares logarithmic SLOG spacing.
Trait Implementations§
Source§impl Clone for TofPowderData
impl Clone for TofPowderData
Source§fn clone(&self) -> TofPowderData
fn clone(&self) -> TofPowderData
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 moreSource§impl Debug for TofPowderData
impl Debug for TofPowderData
Source§impl PartialEq for TofPowderData
impl PartialEq for TofPowderData
impl StructuralPartialEq for TofPowderData
Auto Trait Implementations§
impl Freeze for TofPowderData
impl RefUnwindSafe for TofPowderData
impl Send for TofPowderData
impl Sync for TofPowderData
impl Unpin for TofPowderData
impl UnsafeUnpin for TofPowderData
impl UnwindSafe for TofPowderData
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.