[][src]Struct creator_tools::utils::Config

pub struct Config { /* fields omitted */ }

Configuration information for creator. This is not specific to a build, it is information relating to creator itself.

Implementations

impl Config[src]

pub fn new(shell: Shell, current_dir: PathBuf) -> Config[src]

Creates a new config instance.

pub fn shell(&self) -> RefMut<'_, Shell>[src]

Gets a reference to the shell, e.g., for writing error messages.

pub fn current_dir(&self) -> &Path[src]

Gets a reference to the current working dir.

Trait Implementations

impl Debug for Config[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.