pub trait FileFilter {
    // Required method
    fn is_match(&self, file: &Path) -> bool;
}
Expand description

A predicate property that determines whether a file satisfies a certain condition

Required Methods§

source

fn is_match(&self, file: &Path) -> bool

The predicate function that should return if the given file should be included.

Implementors§

source§

impl FileFilter for TestFileFilter

source§

impl<F> FileFilter for F
where F: Fn(&Path) -> bool,