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