Trait hlist::HList
[−]
[src]
pub trait HList: Sized {
fn push<N>(self, item: N) -> Cons<N, Self> { ... }
}A marker trait that Nil and Cons<H, T> satisfies.
Not currently used to enforce proper hlists, although this may change.
Provides the push() method
Provided Methods
fn push<N>(self, item: N) -> Cons<N, Self>
Consumes the HList, and returns a new HList with item at the beginning.