Struct object::read::ObjectMapEntry[][src]

pub struct ObjectMapEntry<'data> { /* fields omitted */ }

A ObjectMap entry.

Implementations

impl<'data> ObjectMapEntry<'data>[src]

pub fn address(&self) -> u64[src]

Get the symbol address.

pub fn size(&self) -> u64[src]

Get the symbol size.

This may be 0 if the size is unknown.

pub fn name(&self) -> &'data [u8][src]

Get the symbol name.

pub fn object_index(&self) -> usize[src]

Get the index of the object file name.

pub fn object(&self, map: &ObjectMap<'data>) -> &'data [u8][src]

Get the object file name.

Trait Implementations

impl<'data> Clone for ObjectMapEntry<'data>[src]

impl<'data> Copy for ObjectMapEntry<'data>[src]

impl<'data> Debug for ObjectMapEntry<'data>[src]

impl<'data> Default for ObjectMapEntry<'data>[src]

impl<'data> Eq for ObjectMapEntry<'data>[src]

impl<'data> Hash for ObjectMapEntry<'data>[src]

impl<'data> PartialEq<ObjectMapEntry<'data>> for ObjectMapEntry<'data>[src]

impl<'data> StructuralEq for ObjectMapEntry<'data>[src]

impl<'data> StructuralPartialEq for ObjectMapEntry<'data>[src]

impl<'data> SymbolMapEntry for ObjectMapEntry<'data>[src]

Auto Trait Implementations

impl<'data> Send for ObjectMapEntry<'data>

impl<'data> Sync for ObjectMapEntry<'data>

impl<'data> Unpin for ObjectMapEntry<'data>

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.