Struct gimli::read::ArangeHeader
source · pub struct ArangeHeader<R, Offset = <R as Reader>::Offset>where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,{ /* private fields */ }
Expand description
A header for a set of entries in the .debug_arange
section.
These entries all belong to a single unit.
Implementations§
source§impl<R, Offset> ArangeHeader<R, Offset>where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R, Offset> ArangeHeader<R, Offset>where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
sourcepub fn offset(&self) -> DebugArangesOffset<Offset>
pub fn offset(&self) -> DebugArangesOffset<Offset>
Return the offset of this header within the .debug_aranges
section.
sourcepub fn segment_size(&self) -> u8
pub fn segment_size(&self) -> u8
Return the segment size for this set of entries.
sourcepub fn debug_info_offset(&self) -> DebugInfoOffset<Offset>
pub fn debug_info_offset(&self) -> DebugInfoOffset<Offset>
Return the offset into the .debug_info section for this set of arange entries.
sourcepub fn entries(&self) -> ArangeEntryIter<R>
pub fn entries(&self) -> ArangeEntryIter<R>
Return the arange entries in this set.
Trait Implementations§
source§impl<R, Offset> Clone for ArangeHeader<R, Offset>
impl<R, Offset> Clone for ArangeHeader<R, Offset>
source§fn clone(&self) -> ArangeHeader<R, Offset>
fn clone(&self) -> ArangeHeader<R, Offset>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R, Offset> Debug for ArangeHeader<R, Offset>
impl<R, Offset> Debug for ArangeHeader<R, Offset>
source§impl<R, Offset> PartialEq for ArangeHeader<R, Offset>
impl<R, Offset> PartialEq for ArangeHeader<R, Offset>
source§fn eq(&self, other: &ArangeHeader<R, Offset>) -> bool
fn eq(&self, other: &ArangeHeader<R, Offset>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<R, Offset> Eq for ArangeHeader<R, Offset>
impl<R, Offset> StructuralPartialEq for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Auto Trait Implementations§
impl<R, Offset> Freeze for ArangeHeader<R, Offset>
impl<R, Offset> RefUnwindSafe for ArangeHeader<R, Offset>where
Offset: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, Offset> Send for ArangeHeader<R, Offset>
impl<R, Offset> Sync for ArangeHeader<R, Offset>
impl<R, Offset> Unpin for ArangeHeader<R, Offset>
impl<R, Offset> UnwindSafe for ArangeHeader<R, Offset>where
Offset: UnwindSafe,
R: UnwindSafe,
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