[][src]Struct short::cfg::GlobalCfg

pub struct GlobalCfg { /* fields omitted */ }

Implementations

impl GlobalCfg[src]

pub fn new() -> Self[src]

pub fn add_project(&mut self, project: GlobalProjectCfg) -> Result<()>[src]

pub fn remove_project_by_file(&mut self, file: &PathBuf)[src]

pub fn get_project_by_file(
    &self,
    file: &PathBuf
) -> Result<Rc<RefCell<GlobalProjectCfg>>>
[src]

pub fn sync_local_project(
    &mut self,
    file_local_cfg: &FileCfg<LocalCfg>
) -> Result<Rc<RefCell<GlobalProjectCfg>>>
[src]

Trait Implementations

impl Debug for GlobalCfg[src]

impl<'de> Deserialize<'de> for GlobalCfg[src]

impl From<GlobalCfg> for FileCfg<GlobalCfg>[src]

impl Serialize for GlobalCfg[src]

Auto Trait Implementations

impl !RefUnwindSafe for GlobalCfg

impl !Send for GlobalCfg

impl !Sync for GlobalCfg

impl Unpin for GlobalCfg

impl !UnwindSafe for GlobalCfg

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.