Struct frunk_core::indices::There[][src]

pub struct There<T> { /* fields omitted */ }

Used as an index into an HList.

There<T> is 1 + T.

Users should normally allow type inference to create this type.

Trait Implementations

impl<Head, Tail, FromTail, TailIndex> Selector<FromTail, There<TailIndex>> for HCons<Head, Tail> where
    Tail: Selector<FromTail, TailIndex>, 
[src]

Borrow an element by type from an HList. Read more

impl<Head, Tail, FromTail, TailIndex> Plucker<FromTail, There<TailIndex>> for HCons<Head, Tail> where
    Tail: Plucker<FromTail, TailIndex>, 
[src]

Implementation when the pluck target is in the tail

What is left after you pluck the target from the Self

Remove an element by type from an HList. Read more

impl<Head, Tail, ValAtIx, TailIx> LiftFrom<ValAtIx, There<TailIx>> for HCons<Head, Tail> where
    Head: Default,
    Tail: HList + LiftFrom<ValAtIx, TailIx>, 
[src]

Performs the indexed conversion.

impl<Head, I, Tail, TailIndex> CoprodInjector<I, There<TailIndex>> for Coproduct<Head, Tail> where
    Tail: CoprodInjector<I, TailIndex>, 
[src]

Instantiate a coproduct from an element. Read more

impl<Head, FromTail, Tail, TailIndex> CoproductSelector<FromTail, There<TailIndex>> for Coproduct<Head, Tail> where
    Tail: CoproductSelector<FromTail, TailIndex>, 
[src]

Borrow an element from a coproduct by type. Read more

impl<Head, FromTail, Tail, TailIndex> CoproductTaker<FromTail, There<TailIndex>> for Coproduct<Head, Tail> where
    Tail: CoproductTaker<FromTail, TailIndex>, 
[src]

Retrieve an element from a coproduct by type, ignoring all others. Read more

impl<Hd, Tl, T, N> CoprodUninjector<T, There<N>> for Coproduct<Hd, Tl> where
    Tl: CoprodUninjector<T, N>, 
[src]

Attempt to extract a value from a coproduct (or get the remaining possibilities). Read more

Auto Trait Implementations

impl<T> Send for There<T> where
    T: Send

impl<T> Sync for There<T> where
    T: Sync