Module rustc_metadata::rmeta::decoder
source · Re-exports
pub use cstore_impl::provide_extern;
Modules
Structs
- Holds information about a rustc_span::SourceFile imported from another crate. See
imported_source_file()
for more information. - 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.
Traits
- Metadata 🔒Abstract over the various ways one can create metadata decoders.
Type Definitions
- 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.