Struct aster::where_predicate::WhereBoundPredicateTyBoundsBuilder [] [src]

pub struct WhereBoundPredicateTyBoundsBuilder<F> {
    // some fields omitted
}

Methods

impl<F> WhereBoundPredicateTyBoundsBuilder<F> where F: Invoke<WherePredicate>

fn with_for_lifetime<L>(self, lifetime: L) -> Self where L: IntoLifetimeDef

fn for_lifetime<N>(self, name: N) -> LifetimeDefBuilder<Self> where N: ToName

fn with_bound(self, bound: TyParamBound) -> Self

fn bound(self) -> TyParamBoundBuilder<Self>

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

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

fn build(self) -> F::Result

Trait Implementations

impl<F> Invoke<LifetimeDef> for WhereBoundPredicateTyBoundsBuilder<F> where F: Invoke<WherePredicate>

type Result = Self

fn invoke(self, lifetime: LifetimeDef) -> Self

impl<F> Invoke<TyParamBound> for WhereBoundPredicateTyBoundsBuilder<F> where F: Invoke<WherePredicate>

type Result = Self

fn invoke(self, bound: TyParamBound) -> Self