Struct aster::ty_param::TyParamBoundBuilder [] [src]

pub struct TyParamBoundBuilder<F = Identity> {
    // some fields omitted
}

Methods

impl TyParamBoundBuilder
[src]

fn new() -> Self

impl<F> TyParamBoundBuilder<F> where F: Invoke<TyParamBound>
[src]

fn with_callback(callback: F) -> Self

fn span(self, span: Span) -> Self

fn build_trait(self, poly_trait: PolyTraitRef, modifier: TraitBoundModifier) -> F::Result

fn trait_<P>(self, path: P) -> PolyTraitRefBuilder<TraitTyParamBoundBuilder<F>> where P: IntoPath

fn maybe_trait<P>(self, path: P) -> PolyTraitRefBuilder<TraitTyParamBoundBuilder<F>> where P: IntoPath

fn lifetime<L>(self, lifetime: L) -> F::Result where L: IntoLifetime