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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.