pub enum AnomalyViolation {
NaN,
Infinite,
Overflow(f64),
}Expand description
Anomaly violation types - anomalies detected during calculation
Variants§
NaN
NaN detected in result
Infinite
Infinity detected in result
Overflow(f64)
Result exceeds maximum magnitude
Trait Implementations§
Source§impl Clone for AnomalyViolation
impl Clone for AnomalyViolation
Source§fn clone(&self) -> AnomalyViolation
fn clone(&self) -> AnomalyViolation
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 AnomalyViolation
impl Debug for AnomalyViolation
Source§impl Display for AnomalyViolation
impl Display for AnomalyViolation
Source§impl PartialEq for AnomalyViolation
impl PartialEq for AnomalyViolation
Source§fn eq(&self, other: &AnomalyViolation) -> bool
fn eq(&self, other: &AnomalyViolation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnomalyViolation
Auto Trait Implementations§
impl Freeze for AnomalyViolation
impl RefUnwindSafe for AnomalyViolation
impl Send for AnomalyViolation
impl Sync for AnomalyViolation
impl Unpin for AnomalyViolation
impl UnsafeUnpin for AnomalyViolation
impl UnwindSafe for AnomalyViolation
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