pub struct Options {
pub show_hidden: bool,
pub max_depth: Option<usize>,
}Expand description
Options controlling how the tree is rendered.
Fields§
Show entries whose name starts with . (hidden on Unix). Defaults to
false, matching the behaviour of the standard tree command.
max_depth: Option<usize>Maximum directory depth to descend into. None means unlimited.
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