Struct rulinalg::macros::UlpElementwiseComparator
source · [−]pub struct UlpElementwiseComparator {
pub tol: u64,
}
Expand description
The ulp
comparator used with assert_matrix_eq!.
Fields
tol: u64
The maximum difference in ULP units tolerated (inclusive).
Trait Implementations
sourceimpl Clone for UlpElementwiseComparator
impl Clone for UlpElementwiseComparator
sourcefn clone(&self) -> UlpElementwiseComparator
fn clone(&self) -> UlpElementwiseComparator
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UlpElementwiseComparator
impl Debug for UlpElementwiseComparator
sourceimpl PartialEq<UlpElementwiseComparator> for UlpElementwiseComparator
impl PartialEq<UlpElementwiseComparator> for UlpElementwiseComparator
sourcefn eq(&self, other: &UlpElementwiseComparator) -> bool
fn eq(&self, other: &UlpElementwiseComparator) -> bool
impl Copy for UlpElementwiseComparator
impl StructuralPartialEq for UlpElementwiseComparator
Auto Trait Implementations
impl RefUnwindSafe for UlpElementwiseComparator
impl Send for UlpElementwiseComparator
impl Sync for UlpElementwiseComparator
impl Unpin for UlpElementwiseComparator
impl UnwindSafe for UlpElementwiseComparator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more