Node

Type Alias Node 

Source
pub type Node<T, L> = IfZero<L, Nil<T, L>, Cons<T, L>>;
Expand description

The type of the head node in NList<T, L>.

If L is:

  • Zero: this evaluates to Nil<T, L>
  • PlusOne<_>: this evaluates to Cons<T, L>