0.1.0[][src]Trait appro_eq::RelApproEq

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.

Loading content...

Provided methods

fn rel_appro_ne(&self, other: &Rhs) -> bool

This method tests for not approximately equal.

Loading content...

Implementors

impl<Rhs, Diff: PartialOrd + RelTolerance<Diff>, T: RelApproEqWithTol<Rhs, Diff>> RelApproEq<Rhs, Diff> for T[src]

Loading content...