pub trait ToPredicate<T, P: Predicate<T>> {
// Required method
fn to_predicate(self) -> P;
}Expand description
Some type that can be converted into a Predicate.
Required Methods§
Sourcefn to_predicate(self) -> P
fn to_predicate(self) -> P
Converts the type into a Predicate.