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