pub struct BinaryAssertion<T, U> { /* private fields */ }Expand description
An assertion about two objects lhs and rhs.
Trait Implementations§
Source§impl<T, U> Assertion for BinaryAssertion<T, U>
impl<T, U> Assertion for BinaryAssertion<T, U>
Source§fn should_fail(self) -> ShouldFail<Self>where
Self: Sized,
fn should_fail(self) -> ShouldFail<Self>where
Self: Sized,
Wrap the assertion in
ShouldFail, inverting its condition.Source§impl<T, U> Debug for BinaryAssertion<T, U>
impl<T, U> Debug for BinaryAssertion<T, U>
Source§impl<T, U> Display for BinaryAssertion<T, U>
impl<T, U> Display for BinaryAssertion<T, U>
Source§impl<T, U> Termination for BinaryAssertion<T, U>
Available on crate feature std only.
impl<T, U> Termination for BinaryAssertion<T, U>
Available on crate feature
std only.Auto Trait Implementations§
impl<T, U> Freeze for BinaryAssertion<T, U>
impl<T, U> RefUnwindSafe for BinaryAssertion<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for BinaryAssertion<T, U>
impl<T, U> Sync for BinaryAssertion<T, U>
impl<T, U> Unpin for BinaryAssertion<T, U>
impl<T, U> UnsafeUnpin for BinaryAssertion<T, U>where
T: UnsafeUnpin,
U: UnsafeUnpin,
impl<T, U> UnwindSafe for BinaryAssertion<T, U>where
T: UnwindSafe,
U: 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