Module types

Source

Modules§

size_asserts 🔒

Structs§

Argument 🔒
Arguments 🔒
AssocItemConstraint 🔒
A constraint on an associated item.
Attributes 🔒
The attributes on an Item, including attributes like #[derive(...)] and #[inline], as well as doc comments.
BareFunctionDecl 🔒
Constant 🔒
Crate 🔒
The crate currently being documented.
Discriminant 🔒
Enum 🔒
ExternalCrate 🔒
FnDecl 🔒
Function 🔒
GenericParamDef 🔒
Generics 🔒
Impl 🔒
Import 🔒
ImportSource 🔒
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.
ItemInner 🔒
ItemLink 🔒
A link that has not yet been rendered.
Lifetime 🔒
Macro 🔒
Module 🔒
Path 🔒
PathSegment 🔒
PolyTrait 🔒
A trait reference, which may have higher ranked lifetimes.
ProcMacro 🔒
QPathData 🔒
RenderedLink
Span 🔒
Small wrapper around rustc_span::Span that adds helper methods and enforces calling rustc_span::Span::source_callsite().
Static 🔒
Struct 🔒
Trait 🔒
TraitAlias 🔒
TypeAlias 🔒
Union 🔒
UnsafeBinderTy 🔒
Variant 🔒
VariantStruct 🔒
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§

AssocItemConstraintKind 🔒
The kind of associated item constraint.
ConstantKind 🔒
ExternalLocation 🔒
Indicates where an external crate can be found.
GenericArg 🔒
GenericArgs 🔒
GenericBound 🔒
GenericParamDefKind 🔒
ImplKind 🔒
ImportKind 🔒
ItemId 🔒
ItemKind 🔒
PrimitiveType 🔒
A primitive (aka, builtin) type.
Term 🔒
Type 🔒
Rustdoc’s representation of types, mostly based on the hir::Ty.
TypeAliasInnerType 🔒
VariantKind 🔒
WherePredicate 🔒

Traits§

NestedAttributesExt 🔒

Functions§

extract_cfg_from_attrs 🔒
hir_attr_lists 🔒
is_field_vis_inherited 🔒
rustc_span 🔒

Type Aliases§

ItemIdSet 🔒
SimplifiedTypes 🔒