pub struct Here { /* private fields */ }
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§
source§impl<K, V, Tail> ByNameFieldPlucker<K, Here> for HCons<Field<K, V>, Tail>
impl<K, V, Tail> ByNameFieldPlucker<K, Here> for HCons<Field<K, V>, Tail>
Implementation when the pluck target key is in the head.
type TargetValue = V
type Remainder = Tail
source§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)
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.
source§impl<I, Tail> CoprodInjector<I, Here> for Coproduct<I, Tail>
impl<I, Tail> CoprodInjector<I, Here> for Coproduct<I, Tail>
source§impl<Hd, Tl> CoprodUninjector<Hd, Here> for Coproduct<Hd, Tl>
impl<Hd, Tl> CoprodUninjector<Hd, Here> for Coproduct<Hd, Tl>
source§impl<Head, Tail> CoproductSelector<Head, Here> for Coproduct<Head, Tail>
impl<Head, Tail> CoproductSelector<Head, Here> for Coproduct<Head, Tail>
source§impl<Head, Tail> CoproductTaker<Head, Here> for Coproduct<Head, Tail>
impl<Head, Tail> CoproductTaker<Head, Here> for Coproduct<Head, Tail>
Auto Trait Implementations§
impl RefUnwindSafe for Here
impl Send for Here
impl Sync for Here
impl Unpin for Here
impl UnwindSafe for Here
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more