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

pub enum UseTreeKind {
    Simple(Option<Ident>, NodeIdNodeId),
    Nested(Vec<(UseTree, NodeId)>),
    Glob,
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Part of use item to the right of its prefix.

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

use prefix or use prefix as rename

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

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

use prefix::{...}

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Decodable for UseTreeKind
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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