pub trait AlmostEq<Rhs: ?Sized = Self>: Near<Rhs> {
// Required method
fn almost_eq(&self, other: &Rhs) -> bool;
}Expand description
Trait for comparing objects for near-equality relative to a default tolerance.
This is effectively a short-hand for Near with a default f32 tolerance.