Trait foundry_compilers::FileFilter

source ·
pub trait FileFilter: DynClone + Send + Sync {
    // 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§