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