[][src]Struct wearte_config::Config

pub struct Config<'a> {
    pub print_override: PrintConfig,
    pub debug: PrintOption<'a>,
    // some fields omitted
}

Fields

print_override: PrintConfigdebug: PrintOption<'a>

Methods

impl<'a> Config<'a>[src]

pub fn new(s: &str) -> Config[src]

pub fn get_dir(&self) -> &PathBuf[src]

pub fn get_template(&self, ident: &str) -> (PathBuf, String)[src]

pub fn get_partial(&self, parent: &Path, ident: &str) -> (PathBuf, String)[src]

pub fn resolve_partial(&self, parent: &Path, ident: &str) -> PathBuf[src]

Trait Implementations

impl<'a> Debug for Config<'a>[src]

Auto Trait Implementations

impl<'a> Send for Config<'a>

impl<'a> Sync for Config<'a>

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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