Struct gluon_base::ast::Lambda
[−]
[src]
pub struct Lambda<Id> { pub id: TypedIdent<Id>, pub args: Vec<TypedIdent<Id>>, pub body: Box<SpannedExpr<Id>>, }
Fields
id: TypedIdent<Id>
args: Vec<TypedIdent<Id>>
body: Box<SpannedExpr<Id>>
Trait Implementations
impl<Id: Clone> Clone for Lambda<Id>
[src]
fn clone(&self) -> Lambda<Id>
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<Id: PartialEq> PartialEq for Lambda<Id>
[src]
fn eq(&self, __arg_0: &Lambda<Id>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Lambda<Id>) -> bool
This method tests for !=
.