pub fn matcher<M: ToPredicate<T, P>, T: Debug, P: Predicate<T>>( matcher: M, ) -> impl Predicate<T>
Provides a Predicate implementation for a given googletest Matcher.