Struct aster::fn_decl::ArgBuilder [] [src]

pub struct ArgBuilder<F = Identity> {
    // some fields omitted
}

Methods

impl ArgBuilder

fn new<I>(id: I) -> Self where I: ToIdent

impl<F> ArgBuilder<F> where F: Invoke<Arg>

fn new_with_callback<I>(id: I, callback: F) -> ArgBuilder<F> where I: ToIdent

fn span(self, span: Span) -> Self

fn build_ty(self, ty: P<Ty>) -> F::Result

fn ty(self) -> TyBuilder<ArgTyBuilder<F>>