Skip to main content Module cache Copy item path Source use std::mem ; π use rustc_attr_ir::StabilityLevel; π use rustc_data_structures::fx::FxHashMap; π use rustc_data_structures::fx::FxHashSet; π use rustc_data_structures::fx::FxIndexMap; π use rustc_data_structures::fx::FxIndexSet; π use rustc_hir::def_id::CrateNum; π use rustc_hir::def_id::DefId; π use rustc_hir::def_id::DefIdMap; π use rustc_hir::def_id::DefIdSet; π use rustc_metadata::creader::CStore; π use rustc_middle::ty; π use rustc_middle::ty::TyCtxt; π use rustc_span::Symbol; π use tracing::debug; π use crate::clean::types::ExternalLocation ; π use crate::clean ; π use crate::clean::ExternalCrate ; π use crate::clean::ItemId ; π use crate::clean::ItemKind ; π use crate::clean::PrimitiveType ; π use crate::config::RenderOptions ; π use crate::core::DocContext ; π use crate::fold::DocFolder ; π use crate::formats::Impl ; π use crate::formats::item_type::ItemType ; π use crate::html::render::IndexItem ; π use crate::html::render::IndexItemInfo ; π use crate::visit_lib::RustdocEffectiveVisibilities ; π Cache π This cache is used to store information about the clean::Crate being
rendered in order to provide more useful documentation. This contains
information like all implementors of a trait, all traits a type implements,
documentation for all known traits, etc. CacheBuilder π This struct is used to wrap the cache and tcx in order to run DocFolder. OrphanImplItem π PathInfo π ParentStackItem π Information about trait and type parents is tracked while traversing the item tree to build
the cache. add_item_to_search_index π clean_impl_generics π handle_orphan_impl_child π We have a parent, but we donβt know where theyβre
defined yet. Wait for later to index this item.
See Cache::orphan_impl_items .