[][src]Trait short::cfg::SetupsCfg

pub trait SetupsCfg {
    type Setup: SetupCfg;
    fn get_setups(&self) -> Rc<RefCell<Vec<Rc<RefCell<Self::Setup>>>>>;

    fn add_setup(&mut self, setup: Self::Setup) { ... }
fn remove_by_name_setup(&mut self, name: &String) { ... }
fn get_setup(&self, name: &String) -> Option<Rc<RefCell<Self::Setup>>> { ... } }

Associated Types

Loading content...

Required methods

fn get_setups(&self) -> Rc<RefCell<Vec<Rc<RefCell<Self::Setup>>>>>

Loading content...

Provided methods

fn add_setup(&mut self, setup: Self::Setup)

fn remove_by_name_setup(&mut self, name: &String)

fn get_setup(&self, name: &String) -> Option<Rc<RefCell<Self::Setup>>>

Loading content...

Implementors

Loading content...