Struct aster::constant::ConstBuilder
[−]
[src]
pub struct ConstBuilder<F = Identity> { // some fields omitted }
pub struct ConstBuilder<F = Identity> { // some fields omitted }
impl ConstBuilder
fn new() -> Self
impl<F> ConstBuilder<F> where F: Invoke<Const>
fn with_callback(callback: F) -> Self where F: Invoke<Const>
fn span(self, span: Span) -> Self
fn with_expr(self, expr: P<Expr>) -> Self
fn expr(self) -> ExprBuilder<Self>
fn ty(self) -> TyBuilder<Self>
fn build(self, ty: P<Ty>) -> F::Result
impl<F> Invoke<P<Expr>> for ConstBuilder<F> where F: Invoke<Const>
impl<F> Invoke<P<Ty>> for ConstBuilder<F> where F: Invoke<Const>