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