AssertFloatEqAll

Trait AssertFloatEqAll 

Source
pub trait AssertFloatEqAll<Rhs: ?Sized = Self>: FloatEqAll<Rhs> {
    type AllDebugTol: Debug + FloatEqUlpsTol;

    // Required methods
    fn debug_abs_all_tol(
        &self,
        other: &Rhs,
        tol: &Self::AllTol,
    ) -> Self::AllDebugTol;
    fn debug_rmax_all_tol(
        &self,
        other: &Rhs,
        tol: &Self::AllTol,
    ) -> Self::AllDebugTol;
    fn debug_rmin_all_tol(
        &self,
        other: &Rhs,
        tol: &Self::AllTol,
    ) -> Self::AllDebugTol;
    fn debug_r1st_all_tol(
        &self,
        other: &Rhs,
        tol: &Self::AllTol,
    ) -> Self::AllDebugTol;
    fn debug_r2nd_all_tol(
        &self,
        other: &Rhs,
        tol: &Self::AllTol,
    ) -> Self::AllDebugTol;
    fn debug_ulps_all_tol(
        &self,
        other: &Rhs,
        tol: &UlpsTol<Self::AllTol>,
    ) -> UlpsTol<Self::AllDebugTol>
       where UlpsTol<Self::AllDebugTol>: Sized;

    // Provided method
    fn debug_rel_all_tol(
        &self,
        other: &Rhs,
        tol: &Self::AllTol,
    ) -> Self::AllDebugTol { ... }
}
Expand description

Debug context for when an assert using an all check fails.

This trait is used by assert_float_eq! and assert_float_ne!.

To implement this trait over a new type, see How to compare custom types.

Required Associated Types§

Source

type AllDebugTol: Debug + FloatEqUlpsTol

Displayed to the user when an assert fails, using fmt::Debug.

This should match the fields of the the most complex type in the comparison.

Required Methods§

Source

fn debug_abs_all_tol( &self, other: &Rhs, tol: &Self::AllTol, ) -> Self::AllDebugTol

The tolerance used by an abs_all comparison, displayed when an assert fails.

Source

fn debug_rmax_all_tol( &self, other: &Rhs, tol: &Self::AllTol, ) -> Self::AllDebugTol

The tolerance used by an rmax_all comparison, displayed when an assert fails.

Returns tol scaled by the magnitude of the larger operand.

Source

fn debug_rmin_all_tol( &self, other: &Rhs, tol: &Self::AllTol, ) -> Self::AllDebugTol

The tolerance used by an rmin_all comparison, displayed when an assert fails.

Returns tol scaled by the magnitude of the smaller operand.

Source

fn debug_r1st_all_tol( &self, other: &Rhs, tol: &Self::AllTol, ) -> Self::AllDebugTol

The tolerance used by an r1st_all comparison, displayed when an assert fails.

Returns tol scaled by the magnitude of the first operand.

Source

fn debug_r2nd_all_tol( &self, other: &Rhs, tol: &Self::AllTol, ) -> Self::AllDebugTol

The tolerance used by an r2nd_all comparison, displayed when an assert fails.

Returns tol scaled by the magnitude of the second operand.

Source

fn debug_ulps_all_tol( &self, other: &Rhs, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

The tolerance used by an ulps_all comparison, displayed when an assert fails.

Provided Methods§

Source

fn debug_rel_all_tol( &self, other: &Rhs, tol: &Self::AllTol, ) -> Self::AllDebugTol

The tolerance used by a rel_all comparison, displayed when an assert fails.

Equivalent to self.debug_rmax_all_tol(self, other, tol), there is no need to reimplement this for your own types.

Implementations on Foreign Types§

Source§

impl AssertFloatEqAll for f32

Source§

type AllDebugTol = <f32 as FloatEqAll>::AllTol

Source§

fn debug_abs_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Self, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>

Source§

impl AssertFloatEqAll for f64

Source§

type AllDebugTol = <f64 as FloatEqAll>::AllTol

Source§

fn debug_abs_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Self, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>

Source§

impl<A, B> AssertFloatEqAll<[B]> for [A]

Source§

type AllDebugTol = Option<Vec<<A as AssertFloatEqAll<B>>::AllDebugTol>>

Source§

fn debug_abs_all_tol( &self, other: &[B], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &[B], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &[B], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &[B], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &[B], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &[B], tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<Box<B>> for Box<A>
where A: AssertFloatEqAll<B> + Copy + ?Sized, B: Copy + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol( &self, other: &Box<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Box<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Box<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Box<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Box<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Box<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<LinkedList<B>> for LinkedList<A>

Source§

type AllDebugTol = Option<LinkedList<<A as AssertFloatEqAll<B>>::AllDebugTol>>

Source§

fn debug_abs_all_tol( &self, other: &LinkedList<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &LinkedList<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &LinkedList<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &LinkedList<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &LinkedList<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &LinkedList<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<VecDeque<B>> for VecDeque<A>

Source§

type AllDebugTol = Option<VecDeque<<A as AssertFloatEqAll<B>>::AllDebugTol>>

Source§

fn debug_abs_all_tol( &self, other: &VecDeque<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &VecDeque<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &VecDeque<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &VecDeque<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &VecDeque<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &VecDeque<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<Rc<B>> for Rc<A>
where A: AssertFloatEqAll<B> + Copy + ?Sized, B: Copy + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol( &self, other: &Rc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Rc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Rc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Rc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Rc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Rc<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<Arc<B>> for Arc<A>
where A: AssertFloatEqAll<B> + Copy + ?Sized, B: Copy + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol( &self, other: &Arc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Arc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Arc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Arc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Arc<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Arc<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<Vec<B>> for Vec<A>

Source§

type AllDebugTol = Option<Vec<<A as AssertFloatEqAll<B>>::AllDebugTol>>

Source§

fn debug_abs_all_tol( &self, other: &Vec<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Vec<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Vec<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Vec<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Vec<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Vec<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<Cell<B>> for Cell<A>
where A: AssertFloatEqAll<B> + Copy, B: Copy,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol( &self, other: &Cell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Cell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Cell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Cell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Cell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Cell<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B> AssertFloatEqAll<RefCell<B>> for RefCell<A>
where A: AssertFloatEqAll<B> + Copy + ?Sized, B: Copy + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol( &self, other: &RefCell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &RefCell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &RefCell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &RefCell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &RefCell<B>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &RefCell<B>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B, const N: usize> AssertFloatEqAll<[B; N]> for [A; N]

Source§

type AllDebugTol = [<A as AssertFloatEqAll<B>>::AllDebugTol; N]

Source§

fn debug_abs_all_tol( &self, other: &[B; N], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &[B; N], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &[B; N], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &[B; N], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &[B; N], tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &[B; N], tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>

Source§

impl<A, B: ?Sized> AssertFloatEqAll<&B> for &A
where A: AssertFloatEqAll<B> + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol(&self, other: &&B, tol: &Self::AllTol) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &&B, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B: ?Sized> AssertFloatEqAll<&B> for &mut A
where A: AssertFloatEqAll<B> + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol(&self, other: &&B, tol: &Self::AllTol) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &&B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &&B, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B: ?Sized> AssertFloatEqAll<&mut B> for &A
where A: AssertFloatEqAll<B> + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &&mut B, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<A, B: ?Sized> AssertFloatEqAll<&mut B> for &mut A
where A: AssertFloatEqAll<B> + ?Sized,

Source§

type AllDebugTol = <A as AssertFloatEqAll<B>>::AllDebugTol

Source§

fn debug_abs_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &&mut B, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &&mut B, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<K, VA, VB> AssertFloatEqAll<BTreeMap<K, VB>> for BTreeMap<K, VA>
where K: Eq + Ord + Clone + Debug, VA: AssertFloatEqAll<VB>, VA::AllDebugTol: Sized, UlpsTol<VA::AllDebugTol>: Sized,

Source§

type AllDebugTol = Option<BTreeMap<K, <VA as AssertFloatEqAll<VB>>::AllDebugTol>>

Source§

fn debug_abs_all_tol( &self, other: &BTreeMap<K, VB>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &BTreeMap<K, VB>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &BTreeMap<K, VB>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &BTreeMap<K, VB>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &BTreeMap<K, VB>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &BTreeMap<K, VB>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<K, VA, VB, S> AssertFloatEqAll<HashMap<K, VB, S>> for HashMap<K, VA, S>

Source§

type AllDebugTol = Option<HashMap<K, <VA as AssertFloatEqAll<VB>>::AllDebugTol, S>>

Source§

fn debug_abs_all_tol( &self, other: &HashMap<K, VB, S>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &HashMap<K, VB, S>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &HashMap<K, VB, S>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &HashMap<K, VB, S>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &HashMap<K, VB, S>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &HashMap<K, VB, S>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<T> AssertFloatEqAll for Complex<T>

Source§

type AllDebugTol = Complex<<T as AssertFloatEqAll>::AllDebugTol>

Source§

fn debug_abs_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Self, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Self, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Source§

impl<T: AssertFloatEqAll> AssertFloatEqAll for Option<T>

Source§

type AllDebugTol = Option<<T as AssertFloatEqAll>::AllDebugTol>

Source§

fn debug_abs_all_tol( &self, other: &Option<T>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmax_all_tol( &self, other: &Option<T>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_rmin_all_tol( &self, other: &Option<T>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r1st_all_tol( &self, other: &Option<T>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_r2nd_all_tol( &self, other: &Option<T>, tol: &Self::AllTol, ) -> Self::AllDebugTol

Source§

fn debug_ulps_all_tol( &self, other: &Option<T>, tol: &UlpsTol<Self::AllTol>, ) -> UlpsTol<Self::AllDebugTol>
where UlpsTol<Self::AllDebugTol>: Sized,

Implementors§