Struct predicates::boolean::NotPredicate
source ·
[−]Expand description
Predicate that returns a Predicate
taking the logical NOT of the result.
This is created by the Predicate::not
function.
Implementations
Create a new NotPredicate
over predicate inner
.
Trait Implementations
impl<M: PartialEq, Item: PartialEq> PartialEq<NotPredicate<M, Item>> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
impl<M: PartialEq, Item: PartialEq> PartialEq<NotPredicate<M, Item>> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<M, Item> Predicate<Item> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> Predicate<Item> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
impl<M, Item> StructuralPartialEq for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
Auto Trait Implementations
impl<M, Item: ?Sized> RefUnwindSafe for NotPredicate<M, Item> where
Item: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, Item: ?Sized> Unpin for NotPredicate<M, Item> where
Item: Unpin,
M: Unpin,
impl<M, Item: ?Sized> UnwindSafe for NotPredicate<M, Item> where
Item: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
Compute the logical AND of two Predicate
results, returning the result. Read more
Compute the logical OR of two Predicate
results, returning the result. Read more
Compute the logical NOT of a Predicate
, returning the result. Read more