Struct Symbol64

struct Symbol64 { ... }

Symbol table entry.

Fields

n_value: crate::endian::U64<crate::endian::BigEndian>

Symbol value; storage class-dependent.

n_offset: crate::endian::U32<crate::endian::BigEndian>

Offset of the name in string table or .debug section.

n_scnum: crate::endian::I16<crate::endian::BigEndian>

Section number of symbol.

n_type: crate::endian::U16<crate::endian::BigEndian>

Basic and derived type specification.

n_sclass: u8

Storage class of symbol.

n_numaux: u8

Number of auxiliary entries.

Implementations

impl Clone for Symbol64

fn clone(self: &Self) -> Symbol64

impl Copy for Symbol64

impl Debug for Symbol64

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

impl Freeze for Symbol64

impl Pod for Symbol64

impl RefUnwindSafe for Symbol64

impl Send for Symbol64

impl Symbol for xcoff::Symbol64

fn n_value(self: &Self) -> <Self as >::Word
fn n_scnum(self: &Self) -> i16
fn n_type(self: &Self) -> u16
fn n_sclass(self: &Self) -> u8
fn n_numaux(self: &Self) -> u8
fn name_offset(self: &Self) -> Option<u32>
fn name<'data, R: ReadRef<'data>>(self: &'data Self, strings: StringTable<'data, R>) -> Result<&'data [u8]>

Parse the symbol name for XCOFF64.

impl Sync for Symbol64

impl Unpin for Symbol64

impl UnwindSafe for Symbol64

impl<T> Any for Symbol64

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Symbol64

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

impl<T> BorrowMut for Symbol64

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

impl<T> CloneToUninit for Symbol64

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

impl<T> From for Symbol64

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Symbol64

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

impl<T, U> Into for Symbol64

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 Symbol64

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

impl<T, U> TryInto for Symbol64

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