[]Struct symbolic::debuginfo::dwarf::gimli::PubNamesEntry

pub struct PubNamesEntry<R> where
    R: Reader
{ /* fields omitted */ }

A single parsed pubname.

Implementations

impl<R> PubNamesEntry<R> where
    R: Reader

pub fn name(&self) -> &R

Returns the name this entry refers to.

pub fn unit_header_offset(&self) -> DebugInfoOffset<<R as Reader>::Offset>

Returns the offset into the .debug_info section for the header of the compilation unit which contains this name.

pub fn die_offset(&self) -> UnitOffset<<R as Reader>::Offset>

Returns the offset into the compilation unit for the debugging information entry which has this name.

Trait Implementations

impl<R> Clone for PubNamesEntry<R> where
    R: Reader + Clone,
    <R as Reader>::Offset: Clone

impl<R> Debug for PubNamesEntry<R> where
    R: Reader + Debug,
    <R as Reader>::Offset: Debug

Auto Trait Implementations

impl<R> RefUnwindSafe for PubNamesEntry<R> where
    R: RefUnwindSafe,
    <R as Reader>::Offset: RefUnwindSafe
[src]

impl<R> Send for PubNamesEntry<R> where
    R: Send,
    <R as Reader>::Offset: Send
[src]

impl<R> Sync for PubNamesEntry<R> where
    R: Sync,
    <R as Reader>::Offset: Sync
[src]

impl<R> Unpin for PubNamesEntry<R> where
    R: Unpin,
    <R as Reader>::Offset: Unpin
[src]

impl<R> UnwindSafe for PubNamesEntry<R> where
    R: UnwindSafe,
    <R as Reader>::Offset: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.