Trait frunk_utils::MapToList
source · pub trait MapToList<F, U>: HList {
type Output: ConsListT<U>;
// Required method
fn map_to_list(self, f: F) -> ConsList<U, Self::Output>;
}Required Associated Types§
Required Methods§
sourcefn map_to_list(self, f: F) -> ConsList<U, Self::Output>
fn map_to_list(self, f: F) -> ConsList<U, Self::Output>
Map a monomorphizing function over the HList to produce an iterable datastructure which lives fully on stack
Object Safety§
This trait is not object safe.