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
sourceimpl<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
sourceimpl<R: Clone, Offset: Clone> Clone for ArangeHeader<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: Clone, Offset: Clone> Clone for ArangeHeader<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
sourcefn clone(&self) -> ArangeHeader<R, Offset>
fn clone(&self) -> ArangeHeader<R, Offset>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<R: Debug, Offset: Debug> Debug for ArangeHeader<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: Debug, Offset: Debug> Debug for ArangeHeader<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
sourceimpl<R: PartialEq, Offset: PartialEq> PartialEq<ArangeHeader<R, Offset>> for ArangeHeader<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: PartialEq, Offset: PartialEq> PartialEq<ArangeHeader<R, Offset>> for ArangeHeader<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &ArangeHeader<R, Offset>) -> bool
fn ne(&self, other: &ArangeHeader<R, Offset>) -> bool
This method tests for !=
.
impl<R: Eq, Offset: Eq> Eq for ArangeHeader<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more