[−][src]Struct short::cfg::Setup
Implementations
impl Setup
[src]
pub fn new() -> Self
[src]
pub fn local_cfg_file(&self) -> Result<&PathBuf>
[src]
pub fn local_cfg_dir(&self) -> Result<PathBuf>
[src]
pub fn local_cfg_run_file(&self) -> Result<PathBuf>
[src]
pub fn env(&self, env_name: &String) -> Result<Env>
[src]
pub fn env_file(&self, env_name: &String) -> Result<PathBuf>
[src]
pub fn envs(&self) -> Vec<Result<Env>>
[src]
pub fn envs_public_dir(&self) -> Result<PathBuf>
[src]
pub fn envs_public(&self) -> Vec<Result<Env>>
[src]
pub fn envs_private_dir(&self) -> Result<PathBuf>
[src]
pub fn envs_private(&self) -> Vec<Result<Env>>
[src]
pub fn name(&self) -> Result<String>
[src]
pub fn rename(&self, name: &String) -> Result<()>
[src]
pub fn new_fill(
local_file: &PathBuf,
local_setup: &Rc<RefCell<LocalSetupCfg>>,
global_setup: &Rc<RefCell<GlobalProjectSetupCfg>>
) -> Result<Self>
[src]
local_file: &PathBuf,
local_setup: &Rc<RefCell<LocalSetupCfg>>,
global_setup: &Rc<RefCell<GlobalProjectSetupCfg>>
) -> Result<Self>
pub fn local_setup(&self) -> Option<Rc<RefCell<LocalSetupCfg>>>
[src]
pub fn global_setup(&self) -> Option<Rc<RefCell<GlobalProjectSetupCfg>>>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Setup
impl !Send for Setup
impl !Sync for Setup
impl Unpin for Setup
impl !UnwindSafe for Setup
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,