0.1.0[][src]Trait appro_eq::AbsApproEqWithTol

pub trait AbsApproEqWithTol<Rhs: ?Sized = Self, Diff = Self> {
    fn abs_appro_eq_with_tol(&self, other: &Rhs, tol: &Diff) -> bool;

    fn abs_appro_ne_with_tol(&self, other: &Rhs, tol: &Diff) -> bool { ... }
}

Trait for approximately equality comparisons.

Required methods

fn abs_appro_eq_with_tol(&self, other: &Rhs, tol: &Diff) -> bool

This method tests for approximately equal.

Loading content...

Provided methods

fn abs_appro_ne_with_tol(&self, other: &Rhs, tol: &Diff) -> bool

This method tests for not approximately equal.

Loading content...

Implementors

impl<Rhs, Diff: PartialOrd, T: AbsError<Rhs, Diff>> AbsApproEqWithTol<Rhs, Diff> for T[src]

Loading content...