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 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 default(self) -> TyBuilder<Self>fn with_bound(self, bound: TyParamBound) -> Selffn bound(self) -> TyParamBoundBuilder<Self>fn 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<P<Ty>> for TyParamBuilder<F> where F: Invoke<TyParam>impl<F> Invoke<TyParamBound> for TyParamBuilder<F> where F: Invoke<TyParam>type Result = Selffn invoke(self, bound: TyParamBound) -> Selfimpl<F> Invoke<PolyTraitRef> for TyParamBuilder<F> where F: Invoke<TyParam>type Result = Selffn invoke(self, trait_ref: PolyTraitRef) -> Self