Struct aster::path::PathBuilder [] [src]

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

Methods

impl PathBuilder
[src]

fn new() -> Self

impl<F> PathBuilder<F> where F: Invoke<Path>
[src]

fn with_callback(callback: F) -> Self

fn build(self, path: Path) -> F::Result

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

Update the span to start from this location.

fn global(self) -> Self

fn ids<I, T>(self, ids: I) -> PathSegmentsBuilder<F> where I: IntoIterator<Item=T>, T: ToIdent

fn id<I>(self, id: I) -> PathSegmentsBuilder<F> where I: ToIdent

fn segment<I>(self, id: I) -> PathSegmentBuilder<PathSegmentsBuilder<F>> where I: ToIdent