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 new_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=P<Stmt>>
fn with_stmt(self, stmt: P<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<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
)