pub struct TransientContainer<T>(/* private fields */);
Trait Implementations§
Source§impl<T> Container for TransientContainer<T>
impl<T> Container for TransientContainer<T>
Source§impl<T: Debug> Debug for TransientContainer<T>
impl<T: Debug> Debug for TransientContainer<T>
Source§impl<'a, T, Deps> ResolveContainer<'a, T, Deps> for TransientContainer<T>where
T: Dependency<Deps>,
impl<'a, T, Deps> ResolveContainer<'a, T, Deps> for TransientContainer<T>where
T: Dependency<Deps>,
fn resolve_container<F: Fn() -> Deps>(_: &'a Self, get_deps: F) -> T
Auto Trait Implementations§
impl<T> Freeze for TransientContainer<T>
impl<T> RefUnwindSafe for TransientContainer<T>where
T: RefUnwindSafe,
impl<T> Send for TransientContainer<T>where
T: Send,
impl<T> Sync for TransientContainer<T>where
T: Sync,
impl<T> Unpin for TransientContainer<T>where
T: Unpin,
impl<T> UnwindSafe for TransientContainer<T>where
T: UnwindSafe,
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