pub struct TreeOptions {
Show 18 fields pub show_selection_mark: bool, pub show_hidden: bool, pub only_folders: bool, pub show_counts: bool, pub show_dates: bool, pub show_sizes: bool, pub show_git_file_info: bool, pub show_device_id: bool, pub show_root_fs: bool, pub trim_root: bool, pub show_permissions: bool, pub respect_git_ignore: bool, pub filter_by_git_status: bool, pub pattern: InputPattern, pub date_time_format: &'static str, pub sort: Sort, pub cols_order: Cols, pub show_matching_characters_on_path_searches: bool,
}
Expand description

Options defining how the tree should be build and|or displayed

Fields

show_selection_mark: boolshow_hidden: boolonly_folders: boolshow_counts: boolshow_dates: boolshow_sizes: boolshow_git_file_info: boolshow_device_id: boolshow_root_fs: booltrim_root: boolshow_permissions: boolrespect_git_ignore: boolfilter_by_git_status: boolpattern: InputPatterndate_time_format: &'static strsort: Sortcols_order: Colsshow_matching_characters_on_path_searches: bool

Implementations

clone self but without the pattern (if any)

counts must be computed, either for sorting or just for display

dates must be computed, either for sorting or just for display

sizes must be computed, either for sorting or just for display

this method does not exist, you saw nothing (at least don’t call it other than with the config, once)

change tree options according to configuration

change tree options according to broot launch arguments

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.