Struct gluon_base::ast::Do[][src]

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>>,
}

Fields

id: Option<SpannedPattern<'ast, Id>>typ: Option<AstType<'ast, Id>>bound: &'ast mut SpannedExpr<'ast, Id>body: &'ast mut SpannedExpr<'ast, Id>flat_map_id: Option<&'ast mut SpannedExpr<'ast, Id>>

Trait Implementations

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 !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.