[−][src]Struct broot::conf::Conf
The configuration read from conf.toml file(s)
Fields
default_flags: String
date_time_format: Option<String>
verbs: Vec<Verb>
skin: HashMap<String, SkinEntry>
special_paths: Vec<SpecialPath>
search_modes: SearchModeMap
disable_mouse_capture: bool
cols_order: Option<Cols>
show_selection_mark: Option<bool>
ext_colors: ExtColorMap
syntax_theme: Option<String>
true_colors: Option<bool>
Implementations
impl Conf
[src]
pub fn default_location() -> &'static Path
[src]
pub fn from_default_location() -> Result<Conf, ConfError>
[src]
read the configuration file from the default OS specific location. Create it if it doesn't exist
pub fn write_sample(filepath: &Path) -> Result<(), Error>
[src]
assume the file doesn't yet exist
pub fn read_file(&mut self, filepath: &Path) -> Result<(), ConfError>
[src]
read the configuration from a given path. Assume it exists. stderr is supposed to be a valid solution for displaying errors (i.e. this function is called before or after the terminal alternation)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Conf
impl Send for Conf
impl Sync for Conf
impl Unpin for Conf
impl UnwindSafe for Conf
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, 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>,