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>where
R: Reader<Offset = Offset> + Clone,
Offset: ReaderOffset + Clone,
impl<R, Offset> Clone for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset> + Clone,
Offset: ReaderOffset + Clone,
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>where
R: Reader<Offset = Offset> + Debug,
Offset: ReaderOffset + Debug,
impl<R, Offset> Debug for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset> + Debug,
Offset: ReaderOffset + Debug,
source§impl<R, Offset> PartialEq<ArangeHeader<R, Offset>> for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset> + PartialEq,
Offset: ReaderOffset + PartialEq,
impl<R, Offset> PartialEq<ArangeHeader<R, Offset>> for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset> + PartialEq,
Offset: ReaderOffset + PartialEq,
source§fn eq(&self, other: &ArangeHeader<R, Offset>) -> bool
fn eq(&self, other: &ArangeHeader<R, Offset>) -> bool
impl<R, Offset> Eq for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset> + Eq,
Offset: ReaderOffset + Eq,
impl<R, Offset> StructuralEq for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R, Offset> StructuralPartialEq for ArangeHeader<R, Offset>where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Auto Trait Implementations§
impl<R, Offset> RefUnwindSafe for ArangeHeader<R, Offset>where
Offset: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, Offset> Send for ArangeHeader<R, Offset>where
Offset: Send,
R: Send,
impl<R, Offset> Sync for ArangeHeader<R, Offset>where
Offset: Sync,
R: Sync,
impl<R, Offset> Unpin for ArangeHeader<R, Offset>where
Offset: Unpin,
R: Unpin,
impl<R, Offset> UnwindSafe for ArangeHeader<R, Offset>where
Offset: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.