pub struct TreeConfig {
pub show_hidden: bool,
pub dirs_only: bool,
pub max_depth: Option<usize>,
pub follow_symlinks: bool,
pub full_path: bool,
pub filter: Filter,
pub sort_key: SortKey,
pub sort_reverse: bool,
pub dirs_first: bool,
}Expand description
Configuration for tree traversal
Fields§
§dirs_only: bool§max_depth: Option<usize>§follow_symlinks: bool§full_path: bool§filter: Filter§sort_key: SortKey§sort_reverse: bool§dirs_first: boolTrait Implementations§
Source§impl Clone for TreeConfig
impl Clone for TreeConfig
Source§fn clone(&self) -> TreeConfig
fn clone(&self) -> TreeConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TreeConfig
impl Debug for TreeConfig
Auto Trait Implementations§
impl Freeze for TreeConfig
impl RefUnwindSafe for TreeConfig
impl Send for TreeConfig
impl Sync for TreeConfig
impl Unpin for TreeConfig
impl UnwindSafe for TreeConfig
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