Struct xpct::matchers::diff::EqDiffMatcher
source · pub struct EqDiffMatcher<Expected> { /* private fields */ }
Available on crate feature
diff
only.Expand description
The matcher for eq_diff
.
Implementations§
source§impl<Expected> EqDiffMatcher<Expected>
impl<Expected> EqDiffMatcher<Expected>
sourcepub fn new(expected: Expected) -> Self
pub fn new(expected: Expected) -> Self
Create a new EqDiffMatcher
from the expected value.
Trait Implementations§
source§impl<Expected: Debug> Debug for EqDiffMatcher<Expected>
impl<Expected: Debug> Debug for EqDiffMatcher<Expected>
Auto Trait Implementations§
impl<Expected> RefUnwindSafe for EqDiffMatcher<Expected>where Expected: RefUnwindSafe,
impl<Expected> Send for EqDiffMatcher<Expected>where Expected: Send,
impl<Expected> Sync for EqDiffMatcher<Expected>where Expected: Sync,
impl<Expected> Unpin for EqDiffMatcher<Expected>where Expected: Unpin,
impl<Expected> UnwindSafe for EqDiffMatcher<Expected>where Expected: 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