Struct predicates::boolean::NotPredicate [−][src]
Predicate that returns a Predicate
taking the logical NOT of the result.
This is created by the Predicate::not
function.
Implementations
impl<M, Item> NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]pub fn new(inner: M) -> NotPredicate<M, Item>
[src]
Create a new NotPredicate
over predicate inner
.
Trait Implementations
impl<M: Clone, Item> Clone for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: Clone + ?Sized,
[src]
impl<M: Clone, Item> Clone for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: Clone + ?Sized,
[src]fn clone(&self) -> NotPredicate<M, Item>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<M: Copy, Item> Copy for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: Copy + ?Sized,
[src]
impl<M: Copy, Item> Copy for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: Copy + ?Sized,
[src]impl<M: Debug, Item> Debug for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: Debug + ?Sized,
[src]
impl<M: Debug, Item> Debug for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: Debug + ?Sized,
[src]impl<M, Item> Display for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> Display for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]impl<M: PartialEq, Item> PartialEq<NotPredicate<M, Item>> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: PartialEq + ?Sized,
[src]
impl<M: PartialEq, Item> PartialEq<NotPredicate<M, Item>> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: PartialEq + ?Sized,
[src]fn eq(&self, other: &NotPredicate<M, Item>) -> bool
[src]
fn ne(&self, other: &NotPredicate<M, Item>) -> bool
[src]
impl<M, Item> Predicate<Item> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> Predicate<Item> for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]impl<M, Item> StructuralEq for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> StructuralEq for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]impl<M, Item> StructuralPartialEq for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]
impl<M, Item> StructuralPartialEq for NotPredicate<M, Item> where
M: Predicate<Item>,
Item: ?Sized,
[src]Auto Trait Implementations
impl<M, Item: ?Sized> RefUnwindSafe for NotPredicate<M, Item> where
Item: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, Item: ?Sized> RefUnwindSafe for NotPredicate<M, Item> where
Item: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, Item: ?Sized> Send for NotPredicate<M, Item> where
Item: Send,
M: Send,
impl<M, Item: ?Sized> Send for NotPredicate<M, Item> where
Item: Send,
M: Send,
impl<M, Item: ?Sized> Sync for NotPredicate<M, Item> where
Item: Sync,
M: Sync,
impl<M, Item: ?Sized> Sync for NotPredicate<M, Item> where
Item: Sync,
M: Sync,
impl<M, Item: ?Sized> Unpin for NotPredicate<M, Item> where
Item: Unpin,
M: Unpin,
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,
impl<M, Item: ?Sized> UnwindSafe for NotPredicate<M, Item> where
Item: UnwindSafe,
M: UnwindSafe,
Blanket Implementations
impl<P, Item> PredicateBooleanExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>,
[src]
impl<P, Item> PredicateBooleanExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>,
[src]fn and<B>(self, other: B) -> AndPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
[src]
B: Predicate<Item>,
Self: Sized,
fn or<B>(self, other: B) -> OrPredicate<Self, B, Item> where
B: Predicate<Item>,
Self: Sized,
[src]
B: Predicate<Item>,
Self: Sized,
fn not(self) -> NotPredicate<Self, Item> where
Self: Sized,
[src]
Self: Sized,
impl<P, Item> PredicateNameExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>,
[src]
impl<P, Item> PredicateNameExt<Item> for P where
Item: ?Sized,
P: Predicate<Item>,
[src]fn name(self, name: &'static str) -> NamePredicate<Self, Item> where
Self: Sized,
[src]
Self: Sized,