Trait appro_eq::RelApproEqWithTol 0.1.0
[−]
[src]
pub trait RelApproEqWithTol<Rhs: ?Sized = Self, Diff = Self> { fn rel_appro_eq_with_tol(&self, other: &Rhs, tol: &Diff) -> bool; fn appro_ne_rel_with_tol(&self, other: &Rhs, tol: &Diff) -> bool { ... } }
Trait for approximately equality comparisons.
Required Methods
fn rel_appro_eq_with_tol(&self, other: &Rhs, tol: &Diff) -> bool
This method tests for approximately equal.
Provided Methods
fn appro_ne_rel_with_tol(&self, other: &Rhs, tol: &Diff) -> bool
This method tests for not approximately equal.
Implementors
impl<Rhs, Diff: PartialOrd, T: RelError<Rhs, Diff>> RelApproEqWithTol<Rhs, Diff> for T