pub struct UnitIndex<R: Reader> { /* private fields */ }
Expand description
The partially parsed index from a DebugCuIndex
or DebugTuIndex
.
Implementations
Find id
in the index hash table, and return the row index.
id
may be a compilation unit ID if this index is from .debug_cu_index
,
or a type signature if this index is from .debug_tu_index
.
Return the section offsets and sizes for the given row index.
Return the number of sections.
Return the number of units.
Return the number of slots.
Trait Implementations
Auto Trait Implementations
impl<R> RefUnwindSafe for UnitIndex<R> where
R: RefUnwindSafe,
impl<R> UnwindSafe for UnitIndex<R> where
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more