pub enum NumericFailure {
DivisionByZero,
Overflow,
OutOfMemory,
MagnitudeLimit,
Irrational,
}Variants§
DivisionByZero
Overflow
OutOfMemory
MagnitudeLimit
Arithmetic result exceeds [MAX_RATIONAL_BITS].
Irrational
Trait Implementations§
Source§impl Clone for NumericFailure
impl Clone for NumericFailure
Source§impl Debug for NumericFailure
impl Debug for NumericFailure
Source§impl Display for NumericFailure
impl Display for NumericFailure
impl Eq for NumericFailure
Source§impl PartialEq for NumericFailure
impl PartialEq for NumericFailure
impl StructuralPartialEq for NumericFailure
Auto Trait Implementations§
impl Forget for NumericFailure
impl Freeze for NumericFailure
impl RefUnwindSafe for NumericFailure
impl Send for NumericFailure
impl Sync for NumericFailure
impl Unpin for NumericFailure
impl UnsafeUnpin for NumericFailure
impl UnwindSafe for NumericFailure
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.