Enum erl_pp::types::List [] [src]

pub enum List<T> {
    Null,
    Cons {
        head: T,
        tail: Tail<T>,
    },
}

Linked list (cons cell).

Variants

Fields of Cons

Methods

impl<T> List<T>
[src]

Returns an iterator which iterates over the elements in this list.

Trait Implementations

impl<T: Debug> Debug for List<T>
[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for List<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Display> Display for List<T>
[src]

Formats the value using the given formatter. Read more