Struct rustc::ty::trait_def::TraitImpls [−][src]
pub struct TraitImpls {
blanket_impls: Vec<DefId>,
non_blanket_impls: FxHashMap<SimplifiedType, 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?
Fields
blanket_impls: 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?
non_blanket_impls: FxHashMap<SimplifiedType, 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?
Impls indexed by their simplified self-type, for fast lookup.
Trait Implementations
impl<'a> HashStable<StableHashingContext<'a>> for TraitImpls[src]
impl<'a> HashStable<StableHashingContext<'a>> for TraitImplsfn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &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?
Auto Trait Implementations
impl Send for TraitImpls
impl Send for TraitImplsimpl Sync for TraitImpls
impl Sync for TraitImpls