Struct easy_assert::custom_matcher::CustomAssert
source · [−]pub struct CustomAssert<T> { /* private fields */ }Implementations
sourceimpl<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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more