pub struct Not<P> {
pub message: String,
/* private fields */
}Expand description
A negation proof: evidence that P does not hold.
Wraps an explanatory message at the Rust meta-level.
Fields§
§message: StringMessage explaining why P is false.
Implementations§
Trait Implementations§
impl<P: Eq> Eq for Not<P>
impl<P> StructuralPartialEq for Not<P>
Auto Trait Implementations§
impl<P> Freeze for Not<P>
impl<P> RefUnwindSafe for Not<P>where
P: RefUnwindSafe,
impl<P> Send for Not<P>where
P: Send,
impl<P> Sync for Not<P>where
P: Sync,
impl<P> Unpin for Not<P>where
P: Unpin,
impl<P> UnsafeUnpin for Not<P>
impl<P> UnwindSafe for Not<P>where
P: 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