Struct Symbol32

struct Symbol32 { ... }

Symbol table entry.

Fields

n_name: [u8; 8]

Symbol name.

If first 4 bytes are 0, then second 4 bytes are offset into string table.

n_value: crate::endian::U32<crate::endian::BigEndian>

Symbol value; storage class-dependent.

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 Symbol32

fn clone(self: &Self) -> Symbol32

impl Copy for Symbol32

impl Debug for Symbol32

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

impl Freeze for Symbol32

impl Pod for Symbol32

impl RefUnwindSafe for Symbol32

impl Send for Symbol32

impl Symbol for xcoff::Symbol32

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 XCOFF32.

impl Sync for Symbol32

impl Unpin for Symbol32

impl UnwindSafe for Symbol32

impl<T> Any for Symbol32

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Symbol32

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

impl<T> BorrowMut for Symbol32

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

impl<T> CloneToUninit for Symbol32

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

impl<T> From for Symbol32

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for Symbol32

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

impl<T, U> Into for Symbol32

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 Symbol32

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

impl<T, U> TryInto for Symbol32

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