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]

[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]

[src]

Formats the value using the given formatter. Read more

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

[src]

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

[src]

Compute the logical AND of two Predicate results, returning the result. Read more

[src]

Compute the logical OR of two Predicate results, returning the result. Read more

[src]

Compute the logical NOT of a Predicate, returning the result. Read more

[src]

Returns a BoxPredicate wrapper around this Predicate type. 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