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