Struct aster::path::PathSegmentBuilder
[−]
[src]
pub struct PathSegmentBuilder<F = Identity> { // some fields omitted }
pub struct PathSegmentBuilder<F = Identity> { // some fields omitted }
impl<F> PathSegmentBuilder<F> where F: Invoke<PathSegment>
fn new_with_callback<I>(id: I, callback: F) -> Self where I: ToIdent
fn span(self, span: Span) -> Self
fn with_generics(self, generics: Generics) -> Self
fn with_lifetimes<I, L>(self, iter: I) -> Self where I: IntoIterator<Item=L>, L: IntoLifetime
fn with_lifetime<L>(self, lifetime: L) -> Self where L: IntoLifetime
fn lifetime<N>(self, name: N) -> Self where N: ToName
fn with_tys<I>(self, iter: I) -> Self where I: IntoIterator<Item=P<Ty>>
fn with_ty(self, ty: P<Ty>) -> Self
fn ty(self) -> TyBuilder<Self>
fn build(self) -> F::Result
impl<F> Invoke<P<Ty>> for PathSegmentBuilder<F> where F: Invoke<PathSegment>
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
)