Struct gimli::write::DebugInfoOffsets
source · [−]pub struct DebugInfoOffsets { /* private fields */ }
Expand description
The section offsets of all elements within a .debug_info
section.
Implementations
sourceimpl 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
sourceimpl Debug for DebugInfoOffsets
impl Debug for DebugInfoOffsets
sourceimpl Default for DebugInfoOffsets
impl Default for DebugInfoOffsets
sourcefn default() -> DebugInfoOffsets
fn default() -> DebugInfoOffsets
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for DebugInfoOffsets
impl Send for DebugInfoOffsets
impl Sync for DebugInfoOffsets
impl Unpin for DebugInfoOffsets
impl UnwindSafe for DebugInfoOffsets
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more