Struct aster::qpath::QPathBuilder
[−]
[src]
pub struct QPathBuilder<F = Identity> { // some fields omitted }
Methods
impl QPathBuilder
fn new() -> Self
impl<F> QPathBuilder<F> where F: Invoke<(QSelf, Path)>
fn new_with_callback(callback: F) -> Self
Construct a QPathBuilder
that will call the callback
with a constructed ast::QSelf
and ast::Path
.
fn span(self, span: Span) -> Self
Update the span to start from this location.
fn ty(self) -> TyBuilder<Self>
Build a qualified path first by starting with a type builder.
fn build(self, qself: QSelf, path: Path) -> F::Result
Build a qualified path with a concrete type and path.