Struct syn::aster::ty_param::TyParamBuilder
[−]
[src]
pub struct TyParamBuilder<F = Identity> { /* fields omitted */ }
pub struct TyParamBuilder<F = Identity> { /* fields omitted */ }
impl TyParamBuilder
[src]fn new<I>(id: I) -> Self where I: Into<Ident>
fn from_ty_param(ty_param: TyParam) -> Self
impl<F> TyParamBuilder<F> where F: Invoke<TyParam>
[src]fn with_callback<I>(id: I, callback: F) -> Self where I: Into<Ident>
fn from_ty_param_with_callback(callback: F, ty_param: TyParam) -> Self
fn with_default(self, ty: Ty) -> Self
fn default(self) -> TyBuilder<Self>
fn with_bound(self, bound: TyParamBound) -> Self
fn bound(self) -> TyParamBoundBuilder<Self>
fn with_trait_bound(self, trait_ref: PolyTraitRef) -> Self
fn trait_bound<P>(self, path: P) -> PolyTraitRefBuilder<Self> where P: IntoPath
fn lifetime_bound<L>(self, lifetime: L) -> Self where L: IntoLifetime
fn build(self) -> F::Result
impl<F> Invoke<Ty> for TyParamBuilder<F> where F: Invoke<TyParam>
[src]impl<F> Invoke<TyParamBound> for TyParamBuilder<F> where F: Invoke<TyParam>
[src]type Result = Self
fn invoke(self, bound: TyParamBound) -> Self
impl<F> Invoke<PolyTraitRef> for TyParamBuilder<F> where F: Invoke<TyParam>
[src]type Result = Self
fn invoke(self, trait_ref: PolyTraitRef) -> Self