Struct aster::ty_param::PolyTraitRefBuilder
[−]
[src]
pub struct PolyTraitRefBuilder<F> { // some fields omitted }
pub struct PolyTraitRefBuilder<F> { // some fields omitted }
impl<F> PolyTraitRefBuilder<F> where F: Invoke<PolyTraitRef>
fn new_with_callback<P>(path: P, callback: F) -> Self where P: IntoPath
fn span(self, span: Span) -> Self
fn with_lifetime<L>(self, lifetime: L) -> Self where L: IntoLifetimeDef
fn lifetime<N>(self, name: N) -> LifetimeDefBuilder<Self> where N: ToName
fn build(self) -> F::Result
impl<F> Invoke<LifetimeDef> for PolyTraitRefBuilder<F> where F: Invoke<PolyTraitRef>
type Result = Self
fn invoke(self, lifetime: LifetimeDef) -> Self
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
)