pub trait Tolerance: AbsDiffEq<Self, Epsilon = f64> + Debug {
    fn near(&self, other: &Self) -> bool { ... }
    fn near2(&self, other: &Self) -> bool { ... }
}
Expand description

Defines a tolerance in the whole package

Provided Methods§

The “distance” is less than TOLERANCE.

The “distance” is less than TOLERANCR2.

Implementors§