pub struct Accept;Expand description
Accepts all directories.
Trait Implementations§
source§impl Filter for Accept
impl Filter for Accept
source§fn filter(&self, _: &Path, _: &Path) -> bool
fn filter(&self, _: &Path, _: &Path) -> bool
Checks whether
path_to_visit should be visited or not. The base_path is
the initial directory provided to the visitor. Read moresource§fn and<B>(self, other: B) -> And<Self, B>where
Self: Sized,
B: Filter,
fn and<B>(self, other: B) -> And<Self, B>where Self: Sized, B: Filter,
Creates a filter that only accepts both this and the
other condition.