Crate rustdoc_json_types[−][src]

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.

A hash map implemented with quadratic probing and SIMD lookup.

A hash set implemented as a HashMap where the value is ().

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.

An owned, mutable path (akin to String).

Enums

Constants

rustdoc format-version.

Traits

A data structure that can be deserialized from any data format supported by Serde.

A data structure that can be serialized into any data format supported by Serde.

Derive Macros