Struct predicates::ord::OrdPredicate[][src]

pub struct OrdPredicate<T> where
    T: Debug + PartialOrd
{ /* fields omitted */ }

Predicate that returns true if variable matches the pre-defined Ord value, otherwise returns false.

This is created by the predicate::{gt, ge, lt, le} functions.

Trait Implementations

impl<T: Debug> Debug for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

impl<T: PartialEq> PartialEq for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

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

This method tests for !=.

impl<T: Eq> Eq for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

impl<T> Predicate<T> for OrdPredicate<T> where
    T: Debug + PartialOrd
[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<'a, T: ?Sized> Predicate<T> for OrdPredicate<&'a T> where
    T: Debug + PartialOrd
[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<T> PredicateReflection for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

Important traits for Box<R>

Parameters of the current Predicate.

Important traits for Box<R>

Nested Predicates of the current Predicate.

impl<T> Display for OrdPredicate<T> where
    T: Debug + PartialOrd
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for OrdPredicate<T> where
    T: Send

impl<T> Sync for OrdPredicate<T> where
    T: Sync