Module rustc_metadata::rmeta[][src]

Re-exports

pub use decoder::provide;
pub use decoder::provide_extern;

Modules

decoder
encoder
table

Structs

AssocFnData
CrateDep
CrateRoot

Serialized metadata for a crate. When compiling a proc-macro crate, we encode many of the Lazy<[T]> fields as Lazy::empty(). This serves two purposes:

FnData
GeneratorData
ImplData
Lazy

A value of type T referred to by its absolute position in the metadata, and which can be decoded lazily.

LazyTables
ModData
ProcMacroData
RenderedConst

Contains a constant which has been rendered to a String. Used by rustdoc.

TableBuilders
TraitData
TraitImpls
VariantData

Enums

AssocContainer

Describes whether the container of an associated item is a trait or an impl and whether, in a trait, it has a default, or an in impl, whether it’s marked “default”.

EntryKind
LazyState

Encoding / decoding state for Lazy.

Constants

METADATA_HEADER

Metadata header which includes METADATA_VERSION.

METADATA_VERSION

Metadata encoding version. N.B., increment this if you change the format of metadata such that the rustc version can’t be found to compare with rustc_version().

TAG_PARTIAL_SPAN
TAG_VALID_SPAN_FOREIGN
TAG_VALID_SPAN_LOCAL

Traits

LazyMeta

Additional metadata for a Lazy<T> where T may not be Sized, e.g. for Lazy<[T]>, this is the length (count of T values).

Functions

rustc_version

Type Definitions

ExpnDataTable
SyntaxContextTable