Struct ArchiveSymbol

struct ArchiveSymbol<'data> { ... }

A symbol in the archive symbol table.

This is used to find the member containing the symbol.

Implementations

impl<'data> ArchiveSymbol<'data>

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

Return the symbol name.

fn offset(self: &Self) -> ArchiveOffset

Return the offset of the header for the member containing the symbol.

impl<'data> Clone for ArchiveSymbol<'data>

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

impl<'data> Copy for ArchiveSymbol<'data>

impl<'data> Debug for ArchiveSymbol<'data>

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

impl<'data> Freeze for ArchiveSymbol<'data>

impl<'data> RefUnwindSafe for ArchiveSymbol<'data>

impl<'data> Send for ArchiveSymbol<'data>

impl<'data> Sync for ArchiveSymbol<'data>

impl<'data> Unpin for ArchiveSymbol<'data>

impl<'data> UnwindSafe for ArchiveSymbol<'data>

impl<T> Any for ArchiveSymbol<'data>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ArchiveSymbol<'data>

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

impl<T> BorrowMut for ArchiveSymbol<'data>

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

impl<T> CloneToUninit for ArchiveSymbol<'data>

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

impl<T> From for ArchiveSymbol<'data>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ArchiveSymbol<'data>

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

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

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

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

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