Struct rustc_resolve::ty::CrateInherentImpls [−][src]
pub struct CrateInherentImpls {
pub inherent_impls: HashMap<LocalDefId, Vec<DefId, Global>, BuildHasherDefault<FxHasher>>,
}Expand description
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: HashMap<LocalDefId, Vec<DefId, Global>, BuildHasherDefault<FxHasher>>Auto Trait Implementations
impl RefUnwindSafe for CrateInherentImpls
impl Send for CrateInherentImpls
impl Sync for CrateInherentImpls
impl Unpin for CrateInherentImpls
impl UnwindSafe for CrateInherentImpls
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes