#[repr(usize)]pub enum TofInstrumentParameter {
Show 15 variants
Zero = 0,
Difc = 1,
Difa = 2,
Difb = 3,
Alpha = 4,
Beta0 = 5,
Beta1 = 6,
Betaq = 7,
Sigma0 = 8,
Sigma1 = 9,
Sigma2 = 10,
Sigmaq = 11,
X = 12,
Y = 13,
Z = 14,
}Expand description
One selectable TOF calibration/profile coefficient.
Variants§
Zero = 0
Additive time zero.
Difc = 1
Linear d-to-TOF calibration.
Difa = 2
Quadratic d-to-TOF calibration.
Difb = 3
Reciprocal d-to-TOF calibration.
Alpha = 4
Leading-edge rate numerator.
Beta0 = 5
Constant trailing-edge rate.
Beta1 = 6
Inverse-fourth-power trailing-edge rate.
Betaq = 7
Inverse-square trailing-edge rate.
Sigma0 = 8
Constant Gaussian variance.
Sigma1 = 9
Quadratic-d Gaussian variance.
Sigma2 = 10
Quartic-d Gaussian variance.
Sigmaq = 11
Linear-d Gaussian variance.
X = 12
Linear-d Lorentzian width.
Y = 13
Quadratic-d Lorentzian width.
Z = 14
Constant Lorentzian width.
Implementations§
Trait Implementations§
Source§impl Clone for TofInstrumentParameter
impl Clone for TofInstrumentParameter
Source§fn clone(&self) -> TofInstrumentParameter
fn clone(&self) -> TofInstrumentParameter
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 TofInstrumentParameter
Source§impl Debug for TofInstrumentParameter
impl Debug for TofInstrumentParameter
impl Eq for TofInstrumentParameter
Source§impl Hash for TofInstrumentParameter
impl Hash for TofInstrumentParameter
Source§impl Ord for TofInstrumentParameter
impl Ord for TofInstrumentParameter
Source§fn cmp(&self, other: &TofInstrumentParameter) -> Ordering
fn cmp(&self, other: &TofInstrumentParameter) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TofInstrumentParameter
impl PartialEq for TofInstrumentParameter
Source§impl PartialOrd for TofInstrumentParameter
impl PartialOrd for TofInstrumentParameter
impl StructuralPartialEq for TofInstrumentParameter
Auto Trait Implementations§
impl Freeze for TofInstrumentParameter
impl RefUnwindSafe for TofInstrumentParameter
impl Send for TofInstrumentParameter
impl Sync for TofInstrumentParameter
impl Unpin for TofInstrumentParameter
impl UnsafeUnpin for TofInstrumentParameter
impl UnwindSafe for TofInstrumentParameter
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