Struct teko::data_structures::Sourcedata
[−]
[src]
pub struct Sourcedata(pub Option<Source>, pub Coredata);
Top level data structure used by the parser and interpreter
Methods
impl Sourcedata
[src]
fn head(&self) -> Option<Rc<Sourcedata>>
Return the head of a pair, unwind if not a pair.
fn tail(&self) -> Option<Rc<Sourcedata>>
Return the tail of a pair, unwind if not a pair.
fn len(&self) -> Option<usize>
Compute the size of the object in element count.
Trait Implementations
impl Debug for Sourcedata
[src]
impl PartialEq for Sourcedata
[src]
fn eq(&self, other: &Self) -> 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 Display for Sourcedata
[src]
Display for Sourcedata.
All Sourcedata can be written in a form such that it can be read again.