Struct frunk::indices::Here [−][src]
pub struct Here { /* fields omitted */ }
Expand description
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
Implementation when the pluck target key is in the head.
type TargetValue = V
type Remainder = Tail
pub fn pluck_by_name(
self
) -> (Field<K, <HCons<Field<K, V>, Tail> as ByNameFieldPlucker<K, Here>>::TargetValue>, <HCons<Field<K, V>, Tail> as ByNameFieldPlucker<K, Here>>::Remainder)
pub fn pluck_by_name(
self
) -> (Field<K, <HCons<Field<K, V>, Tail> as ByNameFieldPlucker<K, Here>>::TargetValue>, <HCons<Field<K, V>, Tail> as ByNameFieldPlucker<K, Here>>::Remainder)
Returns a pair consisting of the value pointed to by the target key and the remainder.
Implementation when the pluck target is in head
Auto Trait Implementations
impl RefUnwindSafe for Here
impl UnwindSafe for Here