[−][src]Struct broot::tree::TreeOptions
Options defining how the tree should be build and|or displayed
Fields
only_folders: bool
show_counts: bool
show_dates: bool
show_sizes: bool
show_git_file_info: bool
trim_root: bool
show_permissions: bool
respect_git_ignore: bool
filter_by_git_status: bool
pattern: InputPattern
date_time_format: &'static str
sort: Sort
Implementations
impl TreeOptions
[src]
pub fn without_pattern(&self) -> Self
[src]
clone self but without the pattern (if any)
pub fn needs_counts(&self) -> bool
[src]
counts must be computed, either for sorting or just for display
pub fn needs_dates(&self) -> bool
[src]
dates must be computed, either for sorting or just for display
pub fn needs_sizes(&self) -> bool
[src]
sizes must be computed, either for sorting or just for display
pub fn needs_sum(&self) -> bool
[src]
pub fn set_date_time_format(&mut self, format: String)
[src]
this method does not exist, you saw nothing (at least don't call it other than with the config, once)
pub fn apply(&mut self, cli_args: &ArgMatches)
[src]
change tree options according to broot launch arguments
Trait Implementations
impl Clone for TreeOptions
[src]
fn clone(&self) -> TreeOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TreeOptions
[src]
impl Default for TreeOptions
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TreeOptions
impl Send for TreeOptions
impl Sync for TreeOptions
impl Unpin for TreeOptions
impl UnwindSafe for TreeOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,