Struct frust::hlist::HNil [] [src]

pub struct HNil;

Represents the right-most end of a heterogeneous list

Used to begin one:


let hlist1 = h_cons(1, HNil);
let (h, _) = hlist1.pop();
assert_eq!(h, 1);

Trait Implementations

impl PartialEq for HNil
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for HNil
[src]

impl Debug for HNil
[src]

Formats the value using the given formatter.

impl HList for HNil
[src]

impl<RHS> Add<RHS> for HNil where
    RHS: HList
[src]

The resulting type after applying the + operator

The method for the + operator