pub struct Catalog(/* private fields */);
Implementations§
source§impl Catalog
impl Catalog
pub fn builders<'a>(&'a self) -> Box<dyn Iterator<Item = &dyn Builder> + 'a>
pub fn builders_for<'a, Iface>( &'a self ) -> Box<dyn Iterator<Item = TypecastBuilder<'a, Iface>> + 'a>where Iface: 'static + ?Sized,
pub fn get<Spec>(&self) -> Result<Spec::ReturnType, InjectionError>where Spec: DependencySpec + 'static,
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Catalog
impl Send for Catalog
impl Sync for Catalog
impl Unpin for Catalog
impl !UnwindSafe for Catalog
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