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