[−][src]Struct broot::conf::Conf
Fields
verbs: Vec<VerbConf>
skin: HashMap<String, CompoundStyle>
Methods
impl Conf
[src]
pub fn default_location() -> PathBuf
[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 from_file(filepath: &Path) -> Result<Conf, 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)
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,
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.
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>,