Struct rustc::ty::CrateInherentImpls [−][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?
A map for the local crate mapping each type to a vector of its
inherent impls. This is not meant to be used outside of coherence;
rather, you should request the vector for a specific type via
tcx.inherent_impls(def_id)
so as to minimize your dependencies
(constructing this map requires touching the entire crate).
Fields
inherent_impls: DefIdMap<Lrc<Vec<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?
Trait Implementations
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for CrateInherentImpls
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for CrateInherentImpls
fn 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 Clone for CrateInherentImpls
[src]
impl Clone for CrateInherentImpls
fn clone(&self) -> CrateInherentImpls
[src]
fn clone(&self) -> CrateInherentImpls
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 Debug for CrateInherentImpls
[src]
impl Debug for CrateInherentImpls
Auto Trait Implementations
impl !Send for CrateInherentImpls
impl !Send for CrateInherentImpls
impl !Sync for CrateInherentImpls
impl !Sync for CrateInherentImpls