Enum syntax::ast::UseTreeKind[][src]

pub enum UseTreeKind {
    Simple(Option<Ident>, NodeIdNodeId),
    Nested(Vec<(UseTree, NodeId)>),
    Glob,
}

Part of use item to the right of its prefix.

Variants

use prefix or use prefix as rename

The extra NodeIds are for HIR lowering, when additional statements are created for each namespace.

use prefix::{...}

use prefix::*

Trait Implementations

impl Clone for UseTreeKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for UseTreeKind
[src]

impl Decodable for UseTreeKind
[src]

impl Debug for UseTreeKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for UseTreeKind

impl !Sync for UseTreeKind