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