[−][src]Struct tfsi::providers::ProvideBoxed
A Provide
over some other Provide
that erases the ProvideIdx
data type.
Implementations
impl<'p, 'd, Output> ProvideBoxed<'p, 'd, Output>
[src]
pub fn create<P, I>(p: &'p P) -> Self where
P: Provide<'p, 'd, Output, I>,
I: 'p,
Output: 'd,
[src]
P: Provide<'p, 'd, Output, I>,
I: 'p,
Output: 'd,
Create a ProvideBoxed<Output>
from a `Provide<Output, ...>
Trait Implementations
impl<'p, 'd, T> Debug for ProvideBoxed<'p, 'd, T>
[src]
impl<'p, 'd, Output> Provide<'p, 'd, Output, IdxProvideBoxed> for ProvideBoxed<'p, 'd, Output> where
Self: 'p,
Output: 'd,
[src]
Self: 'p,
Output: 'd,
Auto Trait Implementations
impl<'p, 'd, Output> !RefUnwindSafe for ProvideBoxed<'p, 'd, Output>
[src]
impl<'p, 'd, Output> !Send for ProvideBoxed<'p, 'd, Output>
[src]
impl<'p, 'd, Output> !Sync for ProvideBoxed<'p, 'd, Output>
[src]
impl<'p, 'd, Output> Unpin for ProvideBoxed<'p, 'd, Output>
[src]
impl<'p, 'd, Output> !UnwindSafe for ProvideBoxed<'p, 'd, Output>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<'p, 'd, P, T, I> FitRequirement<'p, 'd, RequireOne<'p, 'd, T>, I> for P where
'd: 'p,
P: Provide<'p, 'd, T, I>,
I: 'p,
T: 'd,
[src]
'd: 'p,
P: Provide<'p, 'd, T, I>,
I: 'p,
T: 'd,
pub fn fit_requirement(
&'p Self
) -> <RequireOne<'p, 'd, T> as Require<'p, 'd>>::Provider
[src]
&'p Self
) -> <RequireOne<'p, 'd, T> as Require<'p, 'd>>::Provider
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,