Struct syntax::ast::UseTree[][src]

pub struct UseTree {
    pub prefix: Path,
    pub kind: UseTreeKind,
    pub span: Span,
}

A tree of paths sharing common prefixes. Used in use items both at top-level and inside of braces in import groups.

Fields

Methods

impl UseTree
[src]

Trait Implementations

impl Clone for UseTree
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for UseTree
[src]

impl Decodable for UseTree
[src]

impl Debug for UseTree
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for UseTree

impl !Sync for UseTree