Struct is_close::Comparator [−][src]
pub struct Comparator<'a, T: Float> { /* fields omitted */ }
Expand description
Float Comparator
Implementations
Check whether or not two values a
and b
are close to each other
pub fn all_close<I, J>(&self, a: I, b: J) -> bool where
I: IntoIterator<Item = T>,
J: IntoIterator<Item = T>,
pub fn all_close<I, J>(&self, a: I, b: J) -> bool where
I: IntoIterator<Item = T>,
J: IntoIterator<Item = T>,
Check whether or not two iterables a
and b
are pairwise close to each other
pub fn any_close<I, J>(&self, a: I, b: J) -> bool where
I: IntoIterator<Item = T>,
J: IntoIterator<Item = T>,
pub fn any_close<I, J>(&self, a: I, b: J) -> bool where
I: IntoIterator<Item = T>,
J: IntoIterator<Item = T>,
Check whether or not two iterables a
and b
are pairwise close to each other in at least one place
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for Comparator<'a, T>
impl<'a, T> !Send for Comparator<'a, T>
impl<'a, T> !Sync for Comparator<'a, T>
impl<'a, T> Unpin for Comparator<'a, T>
impl<'a, T> !UnwindSafe for Comparator<'a, T>