[][src]Struct tfsi::providers::ProvidePair

pub struct ProvidePair<L, R> { /* fields omitted */ }

A Provide that combines two Provides.

It forwards the Provide::provide methods to the underlying Provides.

Implementations

impl<L, R> ProvidePair<L, R>[src]

pub fn into_inner(self) -> (L, R)[src]

Consume this ProvidePair and yield its left and right.

Trait Implementations

impl<L: Clone, R: Clone> Clone for ProvidePair<L, R>[src]

impl<L: Debug, R: Debug> Debug for ProvidePair<L, R>[src]

impl<L, R> From<(L, R)> for ProvidePair<L, R>[src]

impl<'p, 'd, L, R, Output, NextProvideIdx> Provide<'p, 'd, Output, IdxLeft<NextProvideIdx>> for ProvidePair<L, R> where
    Output: 'd,
    R: 'p,
    L: Provide<'p, 'd, Output, NextProvideIdx>, 
[src]

impl<'p, 'd, L, R, Output, NextProvideIdx> Provide<'p, 'd, Output, IdxRight<NextProvideIdx>> for ProvidePair<L, R> where
    Output: 'd,
    L: 'p,
    R: Provide<'p, 'd, Output, NextProvideIdx>, 
[src]

Auto Trait Implementations

impl<L, R> RefUnwindSafe for ProvidePair<L, R> where
    L: RefUnwindSafe,
    R: RefUnwindSafe
[src]

impl<L, R> Send for ProvidePair<L, R> where
    L: Send,
    R: Send
[src]

impl<L, R> Sync for ProvidePair<L, R> where
    L: Sync,
    R: Sync
[src]

impl<L, R> Unpin for ProvidePair<L, R> where
    L: Unpin,
    R: Unpin
[src]

impl<L, R> UnwindSafe for ProvidePair<L, R> where
    L: UnwindSafe,
    R: UnwindSafe
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.