Struct gimli::read::PubNamesEntry
source · pub struct PubNamesEntry<R: Reader> {
unit_header_offset: DebugInfoOffset<R::Offset>,
die_offset: UnitOffset<R::Offset>,
name: R,
}
Expand description
A single parsed pubname.
Fields§
§unit_header_offset: DebugInfoOffset<R::Offset>
§die_offset: UnitOffset<R::Offset>
§name: R
Implementations§
source§impl<R: Reader> PubNamesEntry<R>
impl<R: Reader> PubNamesEntry<R>
sourcepub fn unit_header_offset(&self) -> DebugInfoOffset<R::Offset>
pub fn unit_header_offset(&self) -> DebugInfoOffset<R::Offset>
Returns the offset into the .debug_info section for the header of the compilation unit which contains this name.
sourcepub fn die_offset(&self) -> UnitOffset<R::Offset>
pub fn die_offset(&self) -> UnitOffset<R::Offset>
Returns the offset into the compilation unit for the debugging information entry which has this name.
Trait Implementations§
source§impl<R: Clone + Reader> Clone for PubNamesEntry<R>
impl<R: Clone + Reader> Clone for PubNamesEntry<R>
source§fn clone(&self) -> PubNamesEntry<R>
fn clone(&self) -> PubNamesEntry<R>
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: Reader> PubStuffEntry<R> for PubNamesEntry<R>
impl<R: Reader> PubStuffEntry<R> for PubNamesEntry<R>
fn new( die_offset: UnitOffset<R::Offset>, name: R, unit_header_offset: DebugInfoOffset<R::Offset>, ) -> Self
Auto Trait Implementations§
impl<R> Freeze for PubNamesEntry<R>
impl<R> RefUnwindSafe for PubNamesEntry<R>
impl<R> Send for PubNamesEntry<R>
impl<R> Sync for PubNamesEntry<R>
impl<R> Unpin for PubNamesEntry<R>
impl<R> UnwindSafe for PubNamesEntry<R>
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