Trait appro_eq::AbsApproEqWithTol 0.1.0
[−]
[src]
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.
Provided Methods
fn abs_appro_ne_with_tol(&self, other: &Rhs, tol: &Diff) -> bool
This method tests for not approximately equal.
Implementors
impl<Rhs, Diff: PartialOrd, T: AbsError<Rhs, Diff>> AbsApproEqWithTol<Rhs, Diff> for T