Struct timi::ir::SupercombDefn
[−]
[src]
pub struct SupercombDefn { pub name: String, pub args: Vec<String>, pub body: CoreExpr, }
A supercombinator definition, consisting of the name, arguments, and body.
Fields
name: String
name of the supercombinator
args: Vec<String>
name of the arguments (formal parameters)
body: CoreExpr
body of the supercombinator
Trait Implementations
impl Clone for SupercombDefn
[src]
fn clone(&self) -> SupercombDefn
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
impl PartialEq for SupercombDefn
[src]
fn eq(&self, __arg_0: &SupercombDefn) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SupercombDefn) -> bool
This method tests for !=
.