Crate rustdoc_json_types
source · [−]Expand description
Rustdoc’s JSON output interface
These types are the public API exposed through the --output-format json
flag. The Crate
struct is the root of the JSON blob and all other items are contained within.
Structs
A
Crate
is the root of the emitted JSON blob. It contains all type/documentation information
about the language items in the local crate, as well as info about external items to allow
tools to find or link to them.For external (not defined in the local crate) items, you don’t get the same level of
information. This struct should contain enough to generate a link/reference to the item in
question, or can be used by a tool that takes the json output of multiple crates to find
the actual item definition with all the relevant info.
A trait and potential HRTBs
Enums
Constants
rustdoc format-version.