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
Extern(DefId)🔬 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.
Use🔬 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?
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?
Crate is implicitly loaded by an absolute or an extern:: path.
Trait Implementations
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ExternCrateSource[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ExternCrateSourcefn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)🔬 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 Copy for ExternCrateSourceimpl Clone for ExternCrateSource[src]
impl Clone for ExternCrateSourcefn clone(&self) -> ExternCrateSource[src]
fn clone(&self) -> ExternCrateSourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for ExternCrateSource[src]
impl Debug for ExternCrateSourceAuto Trait Implementations
impl Send for ExternCrateSource
impl Send for ExternCrateSourceimpl Sync for ExternCrateSource
impl Sync for ExternCrateSource