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