Module rustc_metadata::rmeta::decoder

source ยท



  • CrateMetadata ๐Ÿ”’
  • DecodeContext ๐Ÿ”’
  • DecodeIterator ๐Ÿ”’
  • ImportedSourceFile ๐Ÿ”’
    Holds information about a rustc_span::SourceFile imported from another crate. See imported_source_file() for more information.
  • MetadataBlob ๐Ÿ”’
    A reference to the raw binary version of crate metadata. A MetadataBlob internally is just a reference counted pointer to the actual data, so cloning it is cheap.


  • Metadata ๐Ÿ”’
    Abstract over the various ways one can create metadata decoders.

Type Aliasesยง

  • CrateNumMap ๐Ÿ”’
    A map from external crate numbers (as decoded from some crate file) to local crate numbers (as generated during this session). Each external crate may refer to types in other external crates, and each has their own crate numbers.