Struct aster::stmt::StmtLetBuilder [] [src]

pub struct StmtLetBuilder<F> {
    // some fields omitted
}

Methods

impl<F> StmtLetBuilder<F> where F: Invoke<Stmt>
[src]

fn ty(self) -> TyBuilder<Self>

fn build_expr(self, expr: P<Expr>) -> F::Result

fn expr(self) -> ExprBuilder<Self>

fn build(self) -> F::Result

Trait Implementations

impl<F> Invoke<P<Ty>> for StmtLetBuilder<F> where F: Invoke<Stmt>
[src]

type Result = StmtLetTyBuilder<F>

fn invoke(self, ty: P<Ty>) -> StmtLetTyBuilder<F>

impl<F> Invoke<P<Expr>> for StmtLetBuilder<F> where F: Invoke<Stmt>
[src]

type Result = F::Result

fn invoke(self, expr: P<Expr>) -> F::Result