Struct aster::path::PathSegmentBuilder [] [src]

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

Methods

impl<F> PathSegmentBuilder<F> where F: Invoke<PathSegment>

fn new_with_callback<I>(id: I, callback: F) -> Self where I: ToIdent

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

fn with_generics(self, generics: Generics) -> Self

fn with_lifetimes<I, L>(self, iter: I) -> Self where I: IntoIterator<Item=L>, L: IntoLifetime

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

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

fn with_tys<I>(self, iter: I) -> Self where I: IntoIterator<Item=P<Ty>>

fn with_ty(self, ty: P<Ty>) -> Self

fn ty(self) -> TyBuilder<Self>

fn build(self) -> F::Result

Trait Implementations

impl<F> Invoke<P<Ty>> for PathSegmentBuilder<F> where F: Invoke<PathSegment>

type Result = Self

fn invoke(self, ty: P<Ty>) -> Self