Enum rustc::hir::UseKind [] [src]

pub enum UseKind {
    Single,
    Glob,
    ListStem,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

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

One import, e.g. use foo::bar or use foo::bar as baz. Also produced for each element of a list use, e.g.

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

Glob import, e.g. use foo::*.

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

Degenerate list import, e.g. use foo::{a, b} produces an additional use foo::{} for performing checks such as unstable feature gating. May be removed in the future.

Trait Implementations

impl Copy for UseKind
[src]

impl Clone for UseKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Encodable for UseKind
[src]

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

deprecated in favor of rustc-serialize on crates.io

impl Decodable for UseKind
[src]

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

deprecated in favor of rustc-serialize on crates.io

impl Hash for UseKind
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Debug for UseKind
[src]

Formats the value using the given formatter.