rustdoc::clean

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 πŸ”’