Trait frunk_core::hlist::HList
[−]
[src]
pub trait HList: Sized { const LEN: usize; fn static_len() -> usize; fn length(&self) -> u32 { ... } fn len(&self) -> usize { ... } fn prepend<H>(self, h: H) -> HCons<H, Self> { ... } }
Typeclass for HList-y behaviour
An HList is a heterogeneous list, one that is statically typed at compile time. In simple terms, it is just an arbitrarily-nested Tuple2.
Associated Constants
Required Methods
fn static_len() -> usize
Deprecated since 0.1.31
: Please use LEN instead
Provided Methods
fn length(&self) -> u32
Deprecated since 0.1.30
: Please use len() or static_len() instead.