rustdoc ::clean Module types Copy item path Source size_asserts π 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. 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 π NestedAttributesExt π extract_cfg_from_attrs π hir_attr_lists π is_field_vis_inherited π rustc_span π ItemIdSet π SimplifiedTypes π