Struct broot::tree::TreeOptions[][src]

pub struct TreeOptions {
Show 17 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,
}
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: Cols

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

Performs the conversion.

Performs the conversion.

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.