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
Auto Trait Implementations§
impl Freeze for DebugInfoOffsets
impl RefUnwindSafe for DebugInfoOffsets
impl Send for DebugInfoOffsets
impl Sync for DebugInfoOffsets
impl Unpin for DebugInfoOffsets
impl UnwindSafe for DebugInfoOffsets
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more