Skip to main content

predicate

Function predicate 

Source
pub fn predicate<T, F>(f: F) -> PredicateSpecification<T, F>
where F: Fn(&T) -> bool + Send + Sync,
Expand description

Helper function to create a predicate specification