[−][src]Trait simpledi_rs::di::DIContainerTrait
Required methods
pub fn new() -> Self
[src]
pub fn init(self) -> Result<Arc<Self>>
[src]
pub fn add<T>(&mut self, obj: T) -> Result<&mut T> where
T: 'static + Debug,
[src]
T: 'static + Debug,
pub fn get<T>(&self) -> Option<&T> where
T: 'static + Debug,
[src]
T: 'static + Debug,
pub fn get_mut<T>(&mut self) -> Option<&mut T> where
T: 'static + Debug,
[src]
T: 'static + Debug,