Enum rustc::middle::cstore::ExternCrateSource[][src]

pub enum ExternCrateSource {
    Extern(DefId),
    Use,
    Path,
}
🔬 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?

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?

Crate is loaded by extern crate.

🔬 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?

🔬 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?

Crate is implicitly loaded by an absolute or an extern:: path.

Trait Implementations

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ExternCrateSource
[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 Copy for ExternCrateSource
[src]

impl Clone for ExternCrateSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ExternCrateSource
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ExternCrateSource

impl Sync for ExternCrateSource