Struct Export

struct Export<'data> { ... }

An exported symbol.

Returned by Object::exports.

Implementations

impl<'data> Export<'data>

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

The symbol name.

fn address(self: &Self) -> u64

The virtual address of the symbol.

impl<'data> Clone for Export<'data>

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

impl<'data> Copy for Export<'data>

impl<'data> Debug for Export<'data>

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

impl<'data> Eq for Export<'data>

impl<'data> Freeze for Export<'data>

impl<'data> PartialEq for Export<'data>

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

impl<'data> RefUnwindSafe for Export<'data>

impl<'data> Send for Export<'data>

impl<'data> StructuralPartialEq for Export<'data>

impl<'data> Sync for Export<'data>

impl<'data> Unpin for Export<'data>

impl<'data> UnwindSafe for Export<'data>

impl<T> Any for Export<'data>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Export<'data>

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

impl<T> BorrowMut for Export<'data>

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

impl<T> CloneToUninit for Export<'data>

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

impl<T> From for Export<'data>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Export<'data>

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

impl<T, U> Into for Export<'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 Export<'data>

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

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

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