pub struct Config { /* private fields */ }
Implementations§
source§impl Config
impl Config
pub fn from_raw(root_dir: PathBuf, raw: Raw) -> Result<Self, FromRawError>
pub fn load_or_gen( cwd: impl AsRef<Path>, non_interactive: bool, wrapper: &TextWrapper, ) -> Result<(Self, Origin), LoadOrGenError>
pub fn path(&self) -> PathBuf
pub fn app(&self) -> &App
pub fn android(&self) -> &Config
pub fn build_a_bike(&self) -> Bicycle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl !RefUnwindSafe for Config
impl !Send for Config
impl !Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more