Struct rustc::middle::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<'a, 'tcx> HashStable<StableHashingContext<'a>> for CrateSource[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for CrateSourcefn 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 PartialEq for CrateSource[src]
impl PartialEq for CrateSourcefn eq(&self, __arg_0: &CrateSource) -> bool[src]
fn eq(&self, __arg_0: &CrateSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CrateSource) -> bool[src]
fn ne(&self, __arg_0: &CrateSource) -> boolThis method tests for !=.
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 Debug for CrateSource[src]
impl Debug for CrateSourceAuto Trait Implementations
impl Send for CrateSource
impl Send for CrateSourceimpl Sync for CrateSource
impl Sync for CrateSource