pub struct FlattenConfig {
pub skip_folders: HashSet<String>,
pub skip_extensions: HashSet<String>,
pub show_skipped: bool,
pub max_file_size: u64,
pub include_hidden: bool,
pub max_depth: usize,
}Fields§
§skip_folders: HashSet<String>§skip_extensions: HashSet<String>§show_skipped: bool§max_file_size: u64§max_depth: usizeImplementations§
Source§impl FlattenConfig
impl FlattenConfig
pub fn new() -> Self
pub fn should_skip_path(&self, path: &Path) -> bool
pub fn should_skip_file(&self, path: &Path) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlattenConfig
impl RefUnwindSafe for FlattenConfig
impl Send for FlattenConfig
impl Sync for FlattenConfig
impl Unpin for FlattenConfig
impl UnwindSafe for FlattenConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more