Struct globset::GlobMatcher
[−]
[src]
pub struct GlobMatcher { /* fields omitted */ }
A matcher for a single pattern.
Methods
impl GlobMatcher
[src]
fn is_match<P: AsRef<Path>>(&self, path: P) -> bool
Tests whether the given path matches this pattern or not.
fn is_match_candidate(&self, path: &Candidate) -> bool
Tests whether the given path matches this pattern or not.
Trait Implementations
impl Clone for GlobMatcher
[src]
fn clone(&self) -> GlobMatcher
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more