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