[][src]Trait pl_hlist::HList

pub trait HList {
    fn cons<X>(self, x: X) -> HCons<X, Self>
    where
        Self: Sized
, { ... } }

A heterogeneous list that can hold elements of different types.

Provided methods

fn cons<X>(self, x: X) -> HCons<X, Self> where
    Self: Sized

Creates a new HCons with the given X value in head position.

Loading content...

Implementors

impl HList for HNil[src]

impl<H, T: HList> HList for HCons<H, T>[src]

Loading content...