Struct sauce::settings::Settings[][src]

pub struct Settings {
    pub file: PathBuf,
    pub autoload_hook: Option<bool>,
    pub autoload: Option<bool>,
    pub clear_ignore: Option<Vec<String>>,
}

Fields

file: PathBufautoload_hook: Option<bool>autoload: Option<bool>clear_ignore: Option<Vec<String>>

Implementations

impl Settings[src]

pub fn load(config_dir: &Path, output: &mut Output) -> Self[src]

pub fn from_document(file: PathBuf, document: &Document) -> Self[src]

pub fn resolve_precedence<'a>(&'a self, fallback: &'a Self) -> RealizedSettings[src]

pub fn set_values<T: AsRef<str>>(&self, pairs: &[(T, T)], output: &mut Output)[src]

Trait Implementations

impl Debug for Settings[src]

impl Default for Settings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.