Trait frunk_core::labelled::IntoUnlabelled
source · pub trait IntoUnlabelled {
type Output;
// Required method
fn into_unlabelled(self) -> Self::Output;
}
Expand description
Trait for turning a Field HList into an un-labelled HList
Required Associated Types§
Required Methods§
sourcefn into_unlabelled(self) -> Self::Output
fn into_unlabelled(self) -> Self::Output
Turns the current HList into an unlabelled one.
Effectively extracts the values held inside the individual Field
§Examples
Implementors§
source§impl<Label, Value, Tail> IntoUnlabelled for HCons<Field<Label, Value>, Tail>where
Tail: IntoUnlabelled,
impl<Label, Value, Tail> IntoUnlabelled for HCons<Field<Label, Value>, Tail>where
Tail: IntoUnlabelled,
Implementation when we have a non-empty HCons holding a label in its head