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 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>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.