Struct rustdoc::core::DocContext [] [src]

pub struct DocContext<'a, 'tcx: 'a> {
    pub tcx: TyCtxt<'a, 'tcx, 'tcx>,
    pub populated_all_crate_impls: Cell<bool>,
    pub access_levels: RefCell<AccessLevels<DefId>>,
    pub renderinfo: RefCell<RenderInfo>,
    pub external_traits: RefCell<FxHashMap<DefId, Trait>>,
    pub ty_substs: RefCell<FxHashMap<Def, Type>>,
    pub lt_substs: RefCell<FxHashMap<NodeId, Lifetime>>,
    pub export_map: ExportMap,
}
🔬 This is a nightly-only experimental API. (rustdoc)

Fields

🔬 This is a nightly-only experimental API. (rustdoc)
🔬 This is a nightly-only experimental API. (rustdoc)
🔬 This is a nightly-only experimental API. (rustdoc)

Later on moved into clean::Crate

🔬 This is a nightly-only experimental API. (rustdoc)

Later on moved into html::render::CACHE_KEY

🔬 This is a nightly-only experimental API. (rustdoc)

Later on moved through clean::Crate into html::render::CACHE_KEY

🔬 This is a nightly-only experimental API. (rustdoc)

Table type parameter definition -> substituted type

🔬 This is a nightly-only experimental API. (rustdoc)

Table node id of lifetime parameter definition -> substituted lifetime

🔬 This is a nightly-only experimental API. (rustdoc)

Methods

impl<'a, 'tcx> DocContext<'a, 'tcx>
[src]

🔬 This is a nightly-only experimental API. (rustdoc)

🔬 This is a nightly-only experimental API. (rustdoc)

Call the closure with the given parameters set as the substitutions for a type alias' RHS.