pub trait PattEnvIndex {
// Required methods
fn has_dir(&self, dir: &str) -> bool;
fn has_file_with_prefix(&self, prefix: &str) -> bool;
fn any_file_in_dir(
&self,
dir: &str,
check: &mut dyn FnMut(&str) -> bool,
) -> bool;
}Required Methods§
fn has_dir(&self, dir: &str) -> bool
fn has_file_with_prefix(&self, prefix: &str) -> bool
fn any_file_in_dir( &self, dir: &str, check: &mut dyn FnMut(&str) -> bool, ) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".