pub trait PatternMatcher: Send + Sync {
// Required method
fn is_match(&self, text: &str) -> bool;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait PatternMatcher: Send + Sync {
// Required method
fn is_match(&self, text: &str) -> bool;
}This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".