Struct SymtabCommand

struct SymtabCommand<E: Endian> { ... }

Fields

cmd: crate::endian::U32<E>

LC_SYMTAB

cmdsize: crate::endian::U32<E>

sizeof(struct SymtabCommand)

symoff: crate::endian::U32<E>

symbol table offset

nsyms: crate::endian::U32<E>

number of symbol table entries

stroff: crate::endian::U32<E>

string table offset

strsize: crate::endian::U32<E>

string table size in bytes

Implementations

impl<E: Endian> macho::SymtabCommand<E>

fn symbols<'data, Mach: MachHeader<Endian = E>, R: ReadRef<'data>>(self: &Self, endian: E, data: R) -> Result<SymbolTable<'data, Mach, R>>

Return the symbol table that this command references.

impl<E> Freeze for SymtabCommand<E>

impl<E> RefUnwindSafe for SymtabCommand<E>

impl<E> Send for SymtabCommand<E>

impl<E> Sync for SymtabCommand<E>

impl<E> Unpin for SymtabCommand<E>

impl<E> UnwindSafe for SymtabCommand<E>

impl<E: $crate::clone::Clone + Endian> Clone for SymtabCommand<E>

fn clone(self: &Self) -> SymtabCommand<E>

impl<E: $crate::fmt::Debug + Endian> Debug for SymtabCommand<E>

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

impl<E: $crate::marker::Copy + Endian> Copy for SymtabCommand<E>

impl<E: Endian> Pod for SymtabCommand<E>

impl<T> Any for SymtabCommand<E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for SymtabCommand<E>

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

impl<T> BorrowMut for SymtabCommand<E>

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

impl<T> CloneToUninit for SymtabCommand<E>

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

impl<T> From for SymtabCommand<E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for SymtabCommand<E>

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

impl<T, U> Into for SymtabCommand<E>

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 SymtabCommand<E>

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

impl<T, U> TryInto for SymtabCommand<E>

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