pub enum ApproxEqError<F> {
NegativeAbsoluteTolerance(F),
IncorrectRelativePercentage(F),
}Variants§
Trait Implementations§
Source§impl<F: Debug> Debug for ApproxEqError<F>
impl<F: Debug> Debug for ApproxEqError<F>
Source§impl<F> Display for ApproxEqError<F>where
F: Debug,
impl<F> Display for ApproxEqError<F>where
F: Debug,
Source§impl<F> Error for ApproxEqError<F>
impl<F> Error for ApproxEqError<F>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl<F: Ord> Ord for ApproxEqError<F>
impl<F: Ord> Ord for ApproxEqError<F>
Source§fn cmp(&self, other: &ApproxEqError<F>) -> Ordering
fn cmp(&self, other: &ApproxEqError<F>) -> 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<F: PartialEq> PartialEq for ApproxEqError<F>
impl<F: PartialEq> PartialEq for ApproxEqError<F>
Source§impl<F: PartialOrd> PartialOrd for ApproxEqError<F>
impl<F: PartialOrd> PartialOrd for ApproxEqError<F>
impl<F: Eq> Eq for ApproxEqError<F>
impl<F> StructuralPartialEq for ApproxEqError<F>
Auto Trait Implementations§
impl<F> Freeze for ApproxEqError<F>where
F: Freeze,
impl<F> RefUnwindSafe for ApproxEqError<F>where
F: RefUnwindSafe,
impl<F> Send for ApproxEqError<F>where
F: Send,
impl<F> Sync for ApproxEqError<F>where
F: Sync,
impl<F> Unpin for ApproxEqError<F>where
F: Unpin,
impl<F> UnwindSafe for ApproxEqError<F>where
F: UnwindSafe,
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