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 CrateSource
fn eq(&self, other: &CrateSource) -> bool
[src]
fn eq(&self, other: &CrateSource) -> bool
This 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) -> bool
This method tests for !=
.
impl Debug for CrateSource
[src]
impl Debug for CrateSource
fn 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 CrateSource
fn clone(&self) -> CrateSource
[src]
fn clone(&self) -> CrateSource
Returns 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 CrateSource
fn 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 CrateSource
impl Sync for CrateSource
impl Sync for CrateSource