Expand description
Re-exportsΒ§
use std::cell::RefCell;πuse std::fs::File;πuse std::fs::create_dir_all;πuse std::io::BufWriter;πuse std::io::Write;πuse std::io::stdout;πuse std::path::PathBuf;πuse std::rc::Rc;πuse rustc_hir::def::DefKind;πuse rustc_hir::def_id::DefId;πuse rustc_hir::def_id::DefIdSet;πuse rustc_middle::ty::TyCtxt;πuse rustc_session::Session;πuse rustc_span::def_id::LOCAL_CRATE;πuse rustdoc_json_types as types;πuse rustdoc_json_types::FxHashMap;πuse tracing::debug;πuse tracing::trace;πuse crate::clean::ItemKind;πuse crate::clean::types::ExternalCrate;πuse crate::clean::types::ExternalLocation;πuse crate::config::EmitType;πuse crate::config::RenderOptions;πuse crate::docfs::PathError;πuse crate::error::Error;πuse crate::formats::FormatRenderer;πuse crate::formats::cache::Cache;πuse crate::formats::item_type::ItemType;πuse crate::json::conversions::IntoJson;πuse crate::passes::collect_intra_doc_links::UrlFragment;πuse crate::clean;πuse crate::try_err;π
ModulesΒ§
- conversions π
- These from impls are used to create the JSON types which get serialized. Theyβre very close to
the
cleantypes but with some fields removed or stringified to simplify the output and not expose unstable compiler internals. - ids π
- Id handling for rustdoc-json.
- import_
finder π - size_
asserts π
StructsΒ§
- Json
Renderer π
FunctionsΒ§
- serialize_
and_ πwrite