pub struct ScalarComparisonFailure<T, E> {
pub left: T,
pub right: T,
pub error: E,
pub comparator_description: String,
}
Fields§
§left: T
§right: T
§error: E
§comparator_description: String
Trait Implementations§
Source§impl<T: Clone, E: Clone> Clone for ScalarComparisonFailure<T, E>
impl<T: Clone, E: Clone> Clone for ScalarComparisonFailure<T, E>
Source§fn clone(&self) -> ScalarComparisonFailure<T, E>
fn clone(&self) -> ScalarComparisonFailure<T, E>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T, E> Display for ScalarComparisonFailure<T, E>
impl<T, E> Display for ScalarComparisonFailure<T, E>
Source§impl<T: PartialEq, E: PartialEq> PartialEq for ScalarComparisonFailure<T, E>
impl<T: PartialEq, E: PartialEq> PartialEq for ScalarComparisonFailure<T, E>
Source§fn eq(&self, other: &ScalarComparisonFailure<T, E>) -> bool
fn eq(&self, other: &ScalarComparisonFailure<T, E>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<T, E> StructuralPartialEq for ScalarComparisonFailure<T, E>
Auto Trait Implementations§
impl<T, E> Freeze for ScalarComparisonFailure<T, E>
impl<T, E> RefUnwindSafe for ScalarComparisonFailure<T, E>where
T: RefUnwindSafe,
E: RefUnwindSafe,
impl<T, E> Send for ScalarComparisonFailure<T, E>
impl<T, E> Sync for ScalarComparisonFailure<T, E>
impl<T, E> Unpin for ScalarComparisonFailure<T, E>
impl<T, E> UnwindSafe for ScalarComparisonFailure<T, E>where
T: UnwindSafe,
E: UnwindSafe,
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