Struct easy_assert::custom_assertions::CustomAssert
source · 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> 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