Struct predicates::predicate::NotPredicate [] [src]

pub struct NotPredicate<M> where
    M: Predicate
{ /* 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> NotPredicate<M> where
    M: Predicate
[src]

Create a new NotPredicate over predicate inner.

Trait Implementations

impl<M: Debug> Debug for NotPredicate<M> where
    M: Predicate
[src]

Formats the value using the given formatter.

impl<M> Predicate for NotPredicate<M> where
    M: Predicate
[src]

The type that this Predicate will accept for evaluating.

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

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

Returns a BoxPredicate wrapper around this Predicate type. Read more