Struct aster::block::BlockBuilder
[−]
[src]
pub struct BlockBuilder<F = Identity> {
// some fields omitted
}pub struct BlockBuilder<F = Identity> {
// some fields omitted
}impl BlockBuilderfn new() -> Selfimpl<F> BlockBuilder<F> where F: Invoke<P<Block>>fn with_callback(callback: F) -> Selffn span(self, span: Span) -> Selffn unsafe_(self) -> Selffn with_stmts<I>(self, iter: I) -> Self where I: IntoIterator<Item=Stmt>fn with_stmt(self, stmt: Stmt) -> Selffn stmt(self) -> StmtBuilder<Self>fn build_expr(self, expr: P<Expr>) -> F::Resultfn expr(self) -> ExprBuilder<Self>fn build(self) -> F::Resultimpl<F> Invoke<Stmt> for BlockBuilder<F> where F: Invoke<P<Block>>impl<F> Invoke<P<Expr>> for BlockBuilder<F> where F: Invoke<P<Block>>