Struct rulinalg::macros::UlpElementwiseComparator
[−]
[src]
pub struct UlpElementwiseComparator {
pub tol: u64,
}The ulp comparator used with assert_matrix_eq!.
Fields
tol: u64
The maximum difference in ULP units tolerated (inclusive).
Trait Implementations
impl Copy for UlpElementwiseComparator[src]
impl Clone for UlpElementwiseComparator[src]
fn clone(&self) -> UlpElementwiseComparator
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 Debug for UlpElementwiseComparator[src]
impl PartialEq for UlpElementwiseComparator[src]
fn eq(&self, __arg_0: &UlpElementwiseComparator) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UlpElementwiseComparator) -> bool
This method tests for !=.