Struct predicates::boolean::NotPredicate[][src]

pub struct NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
{ /* fields omitted */ }

Predicate that returns a Predicate taking the logical NOT of the result.

This is created by the Predicate::not function.

Methods

impl<M, Item> NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

Create a new NotPredicate over predicate inner.

Trait Implementations

impl<M: Debug, Item> Debug for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Debug + ?Sized
[src]

Formats the value using the given formatter. Read more

impl<M: Clone, Item> Clone for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Clone + ?Sized
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<M: Copy, Item> Copy for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Copy + ?Sized
[src]

impl<M: PartialEq, Item> PartialEq for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: PartialEq + ?Sized
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<M: Eq, Item> Eq for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: Eq + ?Sized
[src]

impl<M, Item> Predicate<Item> for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

Execute this Predicate against variable, returning the resulting boolean. Read more

Find a case that proves this predicate as expected when run against variable.

impl<M, Item> PredicateReflection for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

Important traits for Box<R>

Nested Predicates of the current Predicate.

Important traits for Box<R>

Parameters of the current Predicate.

impl<M, Item> Display for NotPredicate<M, Item> where
    M: Predicate<Item>,
    Item: ?Sized
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

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