Struct rulinalg::macros::AbsoluteElementwiseComparator
[−]
[src]
pub struct AbsoluteElementwiseComparator<T> {
pub tol: T,
}The abs comparator used with assert_matrix_eq!.
Fields
tol: T
The maximum absolute difference tolerated (inclusive).
Trait Implementations
impl<T: Copy> Copy for AbsoluteElementwiseComparator<T>[src]
impl<T: Clone> Clone for AbsoluteElementwiseComparator<T>[src]
fn clone(&self) -> AbsoluteElementwiseComparator<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl<T: Debug> Debug for AbsoluteElementwiseComparator<T>[src]
impl<T: PartialEq> PartialEq for AbsoluteElementwiseComparator<T>[src]
fn eq(&self, __arg_0: &AbsoluteElementwiseComparator<T>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AbsoluteElementwiseComparator<T>) -> bool
This method tests for !=.