Skip to main content

Module doc

Module doc 

Source
Expand description

A description of everything a Registry provides, for generated API docs: every module (lazy ones expanded), its functions with parameter names and types and return types, its types with their fields, variants, methods and Rust doc comments, and the methods of the built-in types.

dump builds a DocTree; with the serde feature it serializes, so a tool can write it out as JSON.

Structs§

DocBuiltin
The methods of one kind of built-in value.
DocField
A struct field, or a field of an enum variant.
DocFn
A function or method.
DocModule
One module, std::fs say.
DocParam
A parameter.
DocTree
Everything a registry provides.
DocType
A native type.
DocVariant
An enum variant.

Functions§

dump
Describes everything registry provides, expanding lazy modules. Modules whose path starts with one of skip (std::test, say) are left out.