Struct rustc_ap_rustc_ast::ast::UseTree [−][src]
pub struct UseTree { pub prefix: Path, pub kind: UseTreeKind, pub span: Span, }
Expand description
A tree of paths sharing common prefixes.
Used in use
items both at top-level and inside of braces in import groups.
Fields
prefix: Path
kind: UseTreeKind
span: Span
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UseTree
impl !UnwindSafe for UseTree
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V