[−][src]Struct frunk_core::indices::Here
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<I, Tail> CoprodInjector<I, Here> for Coproduct<I, Tail>
[src]
impl<Head, Tail> CoproductSelector<Head, Here> for Coproduct<Head, Tail>
[src]
impl<Head, Tail> CoproductTaker<Head, Here> for Coproduct<Head, Tail>
[src]
impl<Hd, Tl> CoprodUninjector<Hd, Here> for Coproduct<Hd, Tl>
[src]
impl<T, Tail> Selector<T, Here> for HCons<T, Tail>
[src]
impl<T, Tail> Plucker<T, Here> for HCons<T, Tail>
[src]
Implementation when the pluck target is in head
type Remainder = Tail
What is left after you pluck the target from the Self
fn pluck(self) -> (T, Self::Remainder)
[src]
impl<T, Tail> LiftFrom<T, Here> for HCons<T, Tail> where
Tail: Default + HList,
[src]
Tail: Default + HList,
impl<K, V, Tail> ByNameFieldPlucker<K, Here> for HCons<Field<K, V>, Tail>
[src]
Implementation when the pluck target key is in the head.
type TargetValue = V
type Remainder = Tail
fn pluck_by_name(self) -> (Field<K, Self::TargetValue>, Self::Remainder)
[src]
Auto Trait Implementations
Blanket Implementations
impl<Choices> CoproductSubsetter for Choices
[src]
type Remainder = Choices
fn subset(
Self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
[src]
Self
) -> Result<CNil, <Choices as CoproductSubsetter<CNil, HNil>>::Remainder>
impl<Source> Sculptor for Source
[src]
impl<T, U, I> LiftInto for T where
U: LiftFrom<T, I>,
[src]
U: LiftFrom<T, I>,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,