pub trait CriterionMatcher<T: LinkReference> {
// Required method
fn is_matched<L: Doublets<T> + ?Sized>(&self, links: &L, link: T) -> bool;
}Expand description
A predicate that identifies links, for example terminal sequence elements.
Closures implementing Fn(T) -> bool can also serve as matchers.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".