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 new_with_callback(callback: F) -> Selffn span(self, span: Span) -> Selffn unsafe_(self) -> Selffn with_stmts<I>(self, iter: I) -> Self where I: IntoIterator<Item=P<Stmt>>fn with_stmt(self, stmt: P<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<P<Stmt>> for BlockBuilder<F> where F: Invoke<P<Block>>impl<F> Invoke<P<Expr>> for BlockBuilder<F> where F: Invoke<P<Block>>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)