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]
fn eq(&self, __arg_0: &HNil) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for HNil
[src]
impl Debug for HNil
[src]
impl HList for HNil
[src]
impl<RHS> Add<RHS> for HNil where
RHS: HList,
[src]
RHS: HList,