[][src]Struct tfsi::providers::ProvideBoxed

pub struct ProvideBoxed<'p, 'd, Output>(_);

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]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.