Module rustdoc::cleanExperimental [-]  [+] [src]

This module contains the "cleaned" pieces of the AST, and the functions that clean them.

Reexports

pub use self::ImplMethod::*;
pub use self::Type::*;
pub use self::PrimitiveType::*;
pub use self::TypeKind::*;
pub use self::StructField::*;
pub use self::VariantKind::*;
pub use self::Mutability::*;
pub use self::ViewItemInner::*;
pub use self::ViewPath::*;
pub use self::ItemEnum::*;
pub use self::Attribute::*;
pub use self::TyParamBound::*;
pub use self::SelfTy::*;
pub use self::FunctionRetTy::*;
pub use self::TraitMethod::*;

Structs

Argument
Arguments
BareFunctionDecl
ClosureDecl
Constant
Crate
Enum
ExternalCrate
FnDecl
Function
Generics
Impl
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.

Lifetime
Macro
Method
Module
Path
PathSegment
PolyTrait

A trait reference, which may have higher ranked lifetimes.

Span
Stability
Static
Struct
Trait
TyMethod
TyParam
Typedef
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.

ViewItem
ViewListIdent

Enums

Attribute
FunctionRetTy
ImplMethod
ItemEnum
Mutability
PathParameters
PrimitiveType
SelfTy
StructField
TraitMethod

An item belonging to a trait, whether a method or associated. Could be named TraitItem except that's already taken by an exported enum variant.

TyParamBound
Type

A representation of a Type suitable for hyperlinking purposes. Ideally one can get the original type out of the AST/ty::ctxt given one of these, if more information is needed. Most importantly it does not preserve mutability or boxes.

TypeKind
VariantKind
ViewItemInner
ViewPath
WherePredicate

Statics

SCHEMA_VERSION

A stable identifier to the particular version of JSON output. Increment this when the Crate and related structures change.

Traits

Clean

Type Definitions

Visibility