pub struct CustomAssert<T> { /* private fields */ }
Implementations§
Source§impl<T> CustomAssert<T>where
T: 'static,
impl<T> CustomAssert<T>where
T: 'static,
pub fn assert_that(actual: Actual<T>) -> CustomAssert<T>
pub fn matches_by(self, matcher: fn(&T, &T) -> bool) -> Box<dyn Matches<T>>
Auto Trait Implementations§
impl<T> Freeze for CustomAssert<T>where
T: Freeze,
impl<T> RefUnwindSafe for CustomAssert<T>where
T: RefUnwindSafe,
impl<T> Send for CustomAssert<T>where
T: Send,
impl<T> Sync for CustomAssert<T>where
T: Sync,
impl<T> Unpin for CustomAssert<T>where
T: Unpin,
impl<T> UnwindSafe for CustomAssert<T>where
T: 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