Struct predicates::constant::BooleanPredicate[][src]

pub struct BooleanPredicate<Item> { /* fields omitted */ }

Predicate that always returns a constant (boolean) result.

This is created by the predicate::always and predicate::never functions.

Trait Implementations

impl<Item: Debug> Debug for BooleanPredicate<Item>
[src]

Formats the value using the given formatter. Read more

impl<Item: Clone> Clone for BooleanPredicate<Item>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Item: Copy> Copy for BooleanPredicate<Item>
[src]

impl<Item: PartialEq> PartialEq for BooleanPredicate<Item>
[src]

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

This method tests for !=.

impl<Item: Eq> Eq for BooleanPredicate<Item>
[src]

impl<Item> Predicate<Item> for BooleanPredicate<Item>
[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<Item> PredicateReflection for BooleanPredicate<Item>
[src]

Important traits for Box<R>

Parameters of the current Predicate.

Important traits for Box<R>

Nested Predicates of the current Predicate.

impl<Item> Display for BooleanPredicate<Item>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<Item> Send for BooleanPredicate<Item> where
    Item: Send

impl<Item> Sync for BooleanPredicate<Item> where
    Item: Sync