Struct object::macho::SymtabCommand [−][src]
#[repr(C)]pub struct SymtabCommand<E: Endian> { pub cmd: U32<E>, pub cmdsize: U32<E>, pub symoff: U32<E>, pub nsyms: U32<E>, pub stroff: U32<E>, pub strsize: U32<E>, }
Fields
cmd: U32<E>
LC_SYMTAB
cmdsize: U32<E>
sizeof(struct SymtabCommand)
symoff: U32<E>
symbol table offset
nsyms: U32<E>
number of symbol table entries
stroff: U32<E>
string table offset
strsize: U32<E>
string table size in bytes
Implementations
impl<E: Endian> SymtabCommand<E>
[src]
impl<E: Endian> SymtabCommand<E>
[src]pub fn symbols<'data, Mach: MachHeader<Endian = E>>(
&self,
endian: E,
data: Bytes<'data>
) -> Result<SymbolTable<'data, Mach>>
[src]
&self,
endian: E,
data: Bytes<'data>
) -> Result<SymbolTable<'data, Mach>>
Return the symbol table that this command references.
Trait Implementations
impl<E: Clone + Endian> Clone for SymtabCommand<E>
[src]
impl<E: Clone + Endian> Clone for SymtabCommand<E>
[src]fn clone(&self) -> SymtabCommand<E>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<E: Debug + Endian> Debug for SymtabCommand<E>
[src]
impl<E: Debug + Endian> Debug for SymtabCommand<E>
[src]impl<E: Copy + Endian> Copy for SymtabCommand<E>
[src]
impl<E: Endian> Pod for SymtabCommand<E>
[src]
Auto Trait Implementations
impl<E> Send for SymtabCommand<E> where
E: Send,
E: Send,
impl<E> Sync for SymtabCommand<E> where
E: Sync,
E: Sync,
impl<E> Unpin for SymtabCommand<E> where
E: Unpin,
E: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.