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