Struct frunk_core::indices::Here[][src]

pub struct Here { /* fields omitted */ }

Used as an index into an HList.

Here is 0, pointing to the head of the HList.

Users should normally allow type inference to create this type.

Trait Implementations

impl<T, Tail> Selector<T, Here> for HCons<T, Tail>
[src]

Borrow an element by type from an HList. Read more

impl<T, Tail> Plucker<T, Here> for HCons<T, Tail>
[src]

Implementation when the pluck target is in head

What is left after you pluck the target from the Self

Remove an element by type from an HList. Read more

impl<T, Tail> LiftFrom<T, Here> for HCons<T, Tail> where
    Tail: Default + HList
[src]

Performs the indexed conversion.

impl<I, Tail> CoprodInjector<I, Here> for Coproduct<I, Tail>
[src]

Instantiate a coproduct from an element. Read more

impl<Head, Tail> CoproductSelector<Head, Here> for Coproduct<Head, Tail>
[src]

Borrow an element from a coproduct by type. Read more

impl<Head, Tail> CoproductTaker<Head, Here> for Coproduct<Head, Tail>
[src]

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

impl<Hd, Tl> CoprodUninjector<Hd, Here> for Coproduct<Hd, Tl>
[src]

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

Auto Trait Implementations

impl Send for Here

impl Sync for Here