0.1.0[][src]Trait appro_eq::AbsApproEq

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.

Loading content...

Provided methods

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

This method tests for not approximately equal.

Loading content...

Implementors

impl<Rhs, Diff: PartialOrd + AbsTolerance<Diff>, T: AbsApproEqWithTol<Rhs, Diff>> AbsApproEq<Rhs, Diff> for T[src]

Loading content...