[][src]Struct object::read::coff::SymbolTable

pub struct SymbolTable<'data> { /* fields omitted */ }

A table of symbol entries in a COFF or PE file.

Also includes the string table used for the symbol names.

Implementations

impl<'data> SymbolTable<'data>[src]

pub fn parse(header: &ImageFileHeader, data: Bytes<'data>) -> Result<Self>[src]

Read the symbol table.

pub fn strings(&self) -> StringTable<'data>[src]

Return the string table used for the symbol names.

pub fn is_empty(&self) -> bool[src]

Return true if the symbol table is empty.

pub fn len(&self) -> usize[src]

The number of symbols.

pub fn symbol(&self, index: usize) -> Option<&'data ImageSymbol>[src]

Return the symbol table entry at the given index.

pub fn get<T: Pod>(&self, index: usize) -> Option<&'data T>[src]

Return the symbol table entry or auxiliary record at the given index.

Trait Implementations

impl<'data> Debug for SymbolTable<'data>[src]

Auto Trait Implementations

impl<'data> RefUnwindSafe for SymbolTable<'data>

impl<'data> Send for SymbolTable<'data>

impl<'data> Sync for SymbolTable<'data>

impl<'data> Unpin for SymbolTable<'data>

impl<'data> UnwindSafe for SymbolTable<'data>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.