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 PartialEq for UseTreeKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for UseTreeKind
[src]

impl Encodable for UseTreeKind
[src]

impl Decodable for UseTreeKind
[src]

impl Hash for UseTreeKind
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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