Module rustc_metadata::schema[][src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Structs

ClosureData [
Experimental
]
ConstQualif [
Experimental
]

Additional data for EntryKind::Const and EntryKind::AssociatedConst

CrateDep [
Experimental
]
CrateRoot [
Experimental
]
EncodedExportedSymbols [
Experimental
]
Entry [
Experimental
]
FnData [
Experimental
]
GeneratorData [
Experimental
]
ImplData [
Experimental
]
Lazy [
Experimental
]

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

LazySeq [
Experimental
]

A sequence of type T referred to by its absolute position in the metadata and length, and which can be decoded lazily. The sequence is a single node for the purposes of Lazy.

MacroDef [
Experimental
]
MethodData [
Experimental
]
ModData [
Experimental
]
RenderedConst [
Experimental
]

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

TraitData [
Experimental
]
TraitImpls [
Experimental
]
VariantData [
Experimental
]

Enums

AssociatedContainer [
Experimental
]

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 [
Experimental
]
LazyState [
Experimental
]

Encoding / decoding state for Lazy and LazySeq.

Constants

METADATA_HEADER [
Experimental
]

Metadata header which includes METADATA_VERSION. To get older versions of rustc to ignore this metadata, there are 4 zero bytes at the start, which are treated as a length of 0 by old compilers.

METADATA_VERSION [
Experimental
]

Metadata encoding version. NB: increment this if you change the format of metadata such that the rustc version can't be found to compare with rustc_version().

TAG_INVALID_SPAN [
Experimental
]
TAG_VALID_SPAN [
Experimental
]

Functions

rustc_version [
Experimental
]