FolderFilter

Trait FolderFilter 

Source
pub trait FolderFilter<P: PathType + ?Sized = Path> {
    // Required method
    fn allows(folder: &P) -> bool;
}
Expand description

A filter for folders, see the DirDescendants documentation.

Required Methods§

Source

fn allows(folder: &P) -> bool

Whether to allow the given path.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§