pub struct Options {Show 13 fields
pub show_hidden: bool,
pub max_depth: Option<usize>,
pub json: bool,
pub format: Format,
pub show_size: bool,
pub human_readable: bool,
pub color: bool,
pub git_ignore: bool,
pub dirs_only: bool,
pub sort_by: SortField,
pub prune: bool,
pub show_icons: bool,
pub show_total_size: bool,
}Expand description
Controls how the tree is gathered and rendered.
Fields§
§max_depth: Option<usize>§json: boolDeprecated: use format instead. When true it forces
Format::Json regardless of format.
format: Format§show_size: bool§human_readable: bool§color: bool§git_ignore: bool§dirs_only: bool§sort_by: SortField§prune: bool§show_icons: bool§show_total_size: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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