pub enum VectorComparisonResult {
ExactlyEqual,
ApproximatelyEqual,
DifferentLengths {
expected_length: usize,
actual_length: usize,
},
UnequalElements {
index_of_first_unequal_element: usize,
expected_value_of_first_unequal_element: f64,
actual_value_of_first_unequal_element: f64,
},
}
Expand description
Vector comparison result type.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VectorComparisonResult
impl RefUnwindSafe for VectorComparisonResult
impl Send for VectorComparisonResult
impl Sync for VectorComparisonResult
impl Unpin for VectorComparisonResult
impl UnwindSafe for VectorComparisonResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more