pub enum PrecisionLossSeverity {
Minimal,
Moderate,
Significant,
Severe,
Catastrophic,
}
Expand description
Severity of precision loss
Variants§
Minimal
Minimal precision loss (< 1 digit)
Moderate
Moderate precision loss (1-3 digits)
Significant
Significant precision loss (3-6 digits)
Severe
Severe precision loss (> 6 digits)
Catastrophic
Catastrophic precision loss (result unreliable)
Trait Implementations§
Source§impl Clone for PrecisionLossSeverity
impl Clone for PrecisionLossSeverity
Source§fn clone(&self) -> PrecisionLossSeverity
fn clone(&self) -> PrecisionLossSeverity
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 PrecisionLossSeverity
impl Debug for PrecisionLossSeverity
Source§impl Display for PrecisionLossSeverity
impl Display for PrecisionLossSeverity
Source§impl Ord for PrecisionLossSeverity
impl Ord for PrecisionLossSeverity
Source§fn cmp(&self, other: &PrecisionLossSeverity) -> Ordering
fn cmp(&self, other: &PrecisionLossSeverity) -> Ordering
1.21.0 · 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 PrecisionLossSeverity
impl PartialEq for PrecisionLossSeverity
Source§impl PartialOrd for PrecisionLossSeverity
impl PartialOrd for PrecisionLossSeverity
impl Eq for PrecisionLossSeverity
impl StructuralPartialEq for PrecisionLossSeverity
Auto Trait Implementations§
impl Freeze for PrecisionLossSeverity
impl RefUnwindSafe for PrecisionLossSeverity
impl Send for PrecisionLossSeverity
impl Sync for PrecisionLossSeverity
impl Unpin for PrecisionLossSeverity
impl UnwindSafe for PrecisionLossSeverity
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