Struct gimli::write::DebugInfoOffsets
source · pub struct DebugInfoOffsets { /* private fields */ }
Expand description
The section offsets of all elements within a .debug_info
section.
Implementations§
source§impl DebugInfoOffsets
impl DebugInfoOffsets
sourcepub fn unit(&self, unit: UnitId) -> DebugInfoOffset
pub fn unit(&self, unit: UnitId) -> DebugInfoOffset
Get the .debug_info
section offset for the given unit.
sourcepub fn entry(&self, unit: UnitId, entry: UnitEntryId) -> DebugInfoOffset
pub fn entry(&self, unit: UnitId, entry: UnitEntryId) -> DebugInfoOffset
Get the .debug_info
section offset for the given entry.
Trait Implementations§
source§impl Debug for DebugInfoOffsets
impl Debug for DebugInfoOffsets
source§impl Default for DebugInfoOffsets
impl Default for DebugInfoOffsets
source§fn default() -> DebugInfoOffsets
fn default() -> DebugInfoOffsets
Returns the “default value” for a type. Read more