pub struct Do<'ast, Id> {
pub id: Option<SpannedPattern<'ast, Id>>,
pub typ: Option<AstType<'ast, Id>>,
pub bound: &'ast mut SpannedExpr<'ast, Id>,
pub body: &'ast mut SpannedExpr<'ast, Id>,
pub flat_map_id: Option<&'ast mut SpannedExpr<'ast, Id>>,
}
body: &'ast mut SpannedExpr<'ast, Id>
impl<'ast, Id> AstAlloc<'ast, Id> for Do<'ast, Id>
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<'ast, Id: Eq> Eq for Do<'ast, Id>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.