Struct ObjectMapEntry

struct ObjectMapEntry<'data> { ... }

A symbol in an ObjectMap.

Implementations

impl<'data> ObjectMapEntry<'data>

fn address(self: &Self) -> u64

Get the symbol address.

fn size(self: &Self) -> u64

Get the symbol size.

This may be 0 if the size is unknown.

fn name(self: &Self) -> &'data [u8]

Get the symbol name.

fn object_index(self: &Self) -> usize

Get the index of the object file name.

fn object<'a>(self: &Self, map: &'a ObjectMap<'data>) -> &'a ObjectMapFile<'data>

Get the object file name.

impl<'data> Clone for ObjectMapEntry<'data>

fn clone(self: &Self) -> ObjectMapEntry<'data>

impl<'data> Copy for ObjectMapEntry<'data>

impl<'data> Debug for ObjectMapEntry<'data>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<'data> Default for ObjectMapEntry<'data>

fn default() -> ObjectMapEntry<'data>

impl<'data> Eq for ObjectMapEntry<'data>

impl<'data> Freeze for ObjectMapEntry<'data>

impl<'data> Hash for ObjectMapEntry<'data>

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl<'data> PartialEq for ObjectMapEntry<'data>

fn eq(self: &Self, other: &ObjectMapEntry<'data>) -> bool

impl<'data> RefUnwindSafe for ObjectMapEntry<'data>

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

impl<'data> StructuralPartialEq for ObjectMapEntry<'data>

impl<'data> SymbolMapEntry for ObjectMapEntry<'data>

fn address(self: &Self) -> u64

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

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

impl<'data> UnwindSafe for ObjectMapEntry<'data>

impl<T> Any for ObjectMapEntry<'data>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ObjectMapEntry<'data>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ObjectMapEntry<'data>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ObjectMapEntry<'data>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ObjectMapEntry<'data>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ObjectMapEntry<'data>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ObjectMapEntry<'data>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ObjectMapEntry<'data>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ObjectMapEntry<'data>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>