Struct aster::ty_param::TyParamBuilder
[−]
[src]
pub struct TyParamBuilder<F = Identity> {
// some fields omitted
}pub struct TyParamBuilder<F = Identity> {
// some fields omitted
}impl TyParamBuilderfn new<I>(id: I) -> Self where I: ToIdentfn from_ty_param(ty_param: TyParam) -> Selfimpl<F> TyParamBuilder<F> where F: Invoke<TyParam>fn new_with_callback<I>(id: I, callback: F) -> Self where I: ToIdentfn from_ty_param_with_callback(callback: F, ty_param: TyParam) -> Selffn span(self, span: Span) -> Selffn with_default(self, ty: P<Ty>) -> Selffn with_trait_bound(self, trait_ref: PolyTraitRef) -> Selffn trait_bound<P>(self, path: P) -> PolyTraitRefBuilder<Self> where P: IntoPathfn lifetime_bound<L>(self, lifetime: L) -> Self where L: IntoLifetimefn build(self) -> F::Resultimpl<F> Invoke<PolyTraitRef> for TyParamBuilder<F> where F: Invoke<TyParam>type Result = Selffn invoke(self, trait_ref: PolyTraitRef) -> 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)