Struct broot::tree::TreeOptions [−][src]
Options defining how the tree should be build and|or displayed
Fields
show_selection_mark: bool
only_folders: bool
show_counts: bool
show_dates: bool
show_sizes: bool
show_git_file_info: bool
show_root_fs: 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
cols_order: Cols
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_config(&mut self, config: &Conf) -> Result<(), ConfError>
[src]
change tree options according to configuration
pub fn apply_launch_args(&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]
pub 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,
pub 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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,