Modules§
Structs§
- Argument 🔒
- A constraint on an associated item.
- The attributes on an
Item
, including attributes like#[derive(...)]
and#[inline]
, as well as doc comments. - Constant 🔒
- Crate 🔒The crate currently being documented.
- Enum 🔒
- FnDecl 🔒
- Function 🔒
- Generics 🔒
- Impl 🔒
- Import 🔒
- Item 🔒Anything with a source location and set of attributes and, optionally, a name. That is, anything that can be documented. This doesn’t correspond directly to the AST’s concept of an item; it’s a strict superset.
- Item
Link 🔒A link that has not yet been rendered. - Lifetime 🔒
- Macro 🔒
- Module 🔒
- Path 🔒
- A trait reference, which may have higher ranked lifetimes.
- Span 🔒Small wrapper around
rustc_span::Span
that adds helper methods and enforces callingrustc_span::Span::source_callsite()
. - Static 🔒
- Struct 🔒
- Trait 🔒
- Union 🔒
- Variant 🔒
- This is a more limited form of the standard Struct, different in that it lacks the things most items have (name, id, parameterization). Found only as a variant in an enum.
Enums§
- The kind of associated item constraint.
- Indicates where an external crate can be found.
- Impl
Kind 🔒 - ItemId 🔒
- Item
Kind 🔒 - A primitive (aka, builtin) type.
- Term 🔒
- Type 🔒Rustdoc’s representation of types, mostly based on the
hir::Ty
.