pub struct Inject<T: Send + Sync + 'static>(/* private fields */);Expand description
A typed dependency reference resolved from the container.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Inject<T>
impl<T> RefUnwindSafe for Inject<T>where
T: RefUnwindSafe,
impl<T> Send for Inject<T>
impl<T> Sync for Inject<T>
impl<T> Unpin for Inject<T>
impl<T> UnsafeUnpin for Inject<T>
impl<T> UnwindSafe for Inject<T>where
T: RefUnwindSafe,
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