Struct aster::fn_decl::ArgBuilder
[−]
[src]
pub struct ArgBuilder<F = Identity> { // some fields omitted }
pub struct ArgBuilder<F = Identity> { // some fields omitted }
impl ArgBuilder
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>>
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
)