Struct rustc_metadata::index::IndexData
[−]
[src]
pub struct IndexData { // some fields omitted }
Unstable (
rustc_private
)While we are generating the metadata, we also track the position
of each DefIndex. It is not required that all definitions appear
in the metadata, nor that they are serialized in order, and
therefore we first allocate the vector here and fill it with
u32::MAX
. Whenever an index is visited, we fill in the
appropriate spot by calling record_position
. We should never
visit the same index twice.