pub trait Matcher: Debug + Send {
// Required method
fn match_path(&self, path: &Path, kind: ParsedKind) -> bool;
}Expand description
Common Matcher trait
Required Methods§
Sourcefn match_path(&self, path: &Path, kind: ParsedKind) -> bool
fn match_path(&self, path: &Path, kind: ParsedKind) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".