Trait Matcher

Source
pub trait Matcher: Debug + Sync {
    // Required methods
    fn matches(&self, file: &RepoPath) -> bool;
    fn visit(&self, dir: &RepoPath) -> Visit;
}

Required Methods§

Source

fn matches(&self, file: &RepoPath) -> bool

Source

fn visit(&self, dir: &RepoPath) -> Visit

Implementations on Foreign Types§

Source§

impl<T: Matcher + ?Sized> Matcher for &T

Source§

fn matches(&self, file: &RepoPath) -> bool

Source§

fn visit(&self, dir: &RepoPath) -> Visit

Source§

impl<T: Matcher + ?Sized> Matcher for Box<T>

Source§

fn matches(&self, file: &RepoPath) -> bool

Source§

fn visit(&self, dir: &RepoPath) -> Visit

Implementors§