Struct rustdoc::core::DocContext[src]

pub struct DocContext {
    pub krate: Crate,
    pub maybe_typed: MaybeTyped,
    pub src: Path,
    pub external_paths: ExternalPaths,
    pub external_traits: RefCell<Option<HashMap<DefId, Trait>>>,
    pub external_typarams: RefCell<Option<HashMap<DefId, String>>>,
    pub inlined: RefCell<Option<HashSet<DefId>>>,
    pub populated_crate_impls: RefCell<HashSet<CrateNum>>,
}

Fields

krate
maybe_typed
src
external_paths
external_traits
external_typarams
inlined
populated_crate_impls

Methods

impl DocContext

fn sess<'a>(&'a self) -> &'a Session