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 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 with_ty(self, ty: P<Ty>) -> QPathTyBuilder<F>
[−]
Build a qualified path first by starting with a type builder.
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.