Module predicates::predicate
[−]
[src]
Predicate
This module contains the Predicate trait and a number of combinators for
the trait. See the crate docs, and the docs for Predicate, for full detail.
Structs
| AndPredicate |
Predicate that combines two |
| BooleanPredicate |
Predicate that always returns a constant (boolean) result. |
| BoxPredicate |
|
| ContainsPredicate |
Predicate that returns |
| EqPredicate |
Predicate that returns |
| FnPredicate |
Predicate that wraps a function over a reference that returns a |
| HashableContainsPredicate |
Predicate that returns |
| NotPredicate |
Predicate that returns a |
| OrPredicate |
Predicate that combines two |
| OrdContainsPredicate |
Predicate that returns |
| OrdPredicate |
Predicate that returns |
Traits
| Predicate |
Trait for generically evaluating a type against a dynamically created predicate function. |
Functions
| always |
Creates a new |
| contains |
Creates a new predicate that will return |
| contains_hashable |
Creates a new predicate that will return |
| contains_ord |
Creates a new predicate that will return |
| eq |
Creates a new predicate that will return |
| function |
Creates a new predicate that wraps over the given function. The returned
type implements |
| ge |
Creates a new predicate that will return |
| gt |
Creates a new predicate that will return |
| le |
Creates a new predicate that will return |
| lt |
Creates a new predicate that will return |
| ne |
Creates a new predicate that will return |
| never |
Creates a new |