Function frunk_core::hlist::h_cons
source · pub fn h_cons<H, T: HList>(h: H, tail: T) -> HCons<H, T>
Expand description
Takes an element and an Hlist and returns another one with the element prepended to the original list. The original list is consumed