Struct rustc_metadata::cstore::CrateSource [−][src]
pub struct CrateSource {
pub dylib: Option<(PathBuf, PathKind)>,
pub rlib: Option<(PathBuf, PathKind)>,
pub rmeta: Option<(PathBuf, PathKind)>,
}🔬 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?
Where a crate came from on the local filesystem. One of these three options must be non-None.
Fields
dylib: Option<(PathBuf, PathKind)>
🔬 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?
rlib: Option<(PathBuf, PathKind)>
🔬 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?
rmeta: Option<(PathBuf, PathKind)>
🔬 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?
Trait Implementations
impl PartialEq<CrateSource> for CrateSource[src]
impl PartialEq<CrateSource> for CrateSourcefn eq(&self, other: &CrateSource) -> bool[src]
fn eq(&self, other: &CrateSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CrateSource) -> bool[src]
fn ne(&self, other: &CrateSource) -> boolThis method tests for !=.
impl Debug for CrateSource[src]
impl Debug for CrateSourcefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Clone for CrateSource[src]
impl Clone for CrateSourcefn clone(&self) -> CrateSource[src]
fn clone(&self) -> CrateSourceReturns 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<'a, 'tcx> HashStable<StableHashingContext<'a>> for CrateSource[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for CrateSourcefn hash_stable<W>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
) where
W: StableHasherResult, [src]
fn hash_stable<W>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
) where
W: StableHasherResult, 🔬 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?
Auto Trait Implementations
impl Send for CrateSource
impl Send for CrateSourceimpl Sync for CrateSource
impl Sync for CrateSource