Module predicates::function
source · Expand description
Definition of Predicate for wrapping a Fn(&T) -> bool
Structs
- Predicate that wraps a function over a reference that returns a
bool. This type is returned by thepredicate::functionfunction.
Functions
- Creates a new predicate that wraps over the given function. The returned type implements
Predicateand therefore has all combinators available to it.