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

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

Reexports

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::Import::*;
pub use self::ItemEnum::*;
pub use self::Attribute::*;
pub use self::TyParamBound::*;
pub use self::SelfTy::*;
pub use self::FunctionRetTy::*;

Structs

Argument
Arguments
BareFunctionDecl
Constant
Crate
DefaultImpl
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
TypeBinding

An equality constraint on an associated type, e.g. A=Bar in Foo<A=Bar>

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.

ViewListIdent

Enums

Attribute
FunctionRetTy
ImplPolarity
Import
ItemEnum
Mutability
PathParameters
PrimitiveType
SelfTy
StructField
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
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