Struct eetf::List
[−]
[src]
pub struct List { pub elements: Vec<Term>, }
List.
Fields
elements: Vec<Term>
Methods
impl List
[src]
fn nil() -> Self
Returns a nil value (i.e., an empty list).
fn is_nil(&self) -> bool
Returns true
if it is nil value, otherwise false
.
Trait Implementations
impl Debug for List
[src]
impl PartialEq for List
[src]
fn eq(&self, __arg_0: &List) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &List) -> bool
This method tests for !=
.
impl Clone for List
[src]
fn clone(&self) -> List
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more