Struct rustc_middle::ty::CrateInherentImpls [−][src]
pub struct CrateInherentImpls {
pub inherent_impls: LocalDefIdMap<Vec<DefId>>,
}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: LocalDefIdMap<Vec<DefId>>Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CrateInherentImplsimpl Send for CrateInherentImplsimpl Sync for CrateInherentImplsimpl Unpin for CrateInherentImplsimpl UnwindSafe for CrateInherentImplsBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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