Struct object::read::SymbolTable
source · pub struct SymbolTable<'data, 'file, R = &'data [u8]>where
R: ReadRef<'data>,{
inner: SymbolTableInternal<'data, 'file, R>,
}
Expand description
A symbol table in a File
.
Most functionality is provided by the ObjectSymbolTable
trait implementation.
Fields§
§inner: SymbolTableInternal<'data, 'file, R>
Trait Implementations§
source§impl<'data, 'file, R> Debug for SymbolTable<'data, 'file, R>
impl<'data, 'file, R> Debug for SymbolTable<'data, 'file, R>
source§impl<'data, 'file, R: ReadRef<'data>> ObjectSymbolTable<'data> for SymbolTable<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> ObjectSymbolTable<'data> for SymbolTable<'data, 'file, R>
source§type SymbolIterator = SymbolIterator<'data, 'file, R>
type SymbolIterator = SymbolIterator<'data, 'file, R>
An iterator for the symbols in a symbol table.
source§fn symbols(&self) -> Self::SymbolIterator
fn symbols(&self) -> Self::SymbolIterator
Get an iterator for the symbols in the table. Read more
source§fn symbol_by_index(&self, index: SymbolIndex) -> Result<Self::Symbol>
fn symbol_by_index(&self, index: SymbolIndex) -> Result<Self::Symbol>
Get the symbol at the given index. Read more
impl<'data, 'file, R: ReadRef<'data>> Sealed for SymbolTable<'data, 'file, R>
Auto Trait Implementations§
impl<'data, 'file, R> Freeze for SymbolTable<'data, 'file, R>
impl<'data, 'file, R> RefUnwindSafe for SymbolTable<'data, 'file, R>where
R: RefUnwindSafe,
impl<'data, 'file, R> Send for SymbolTable<'data, 'file, R>
impl<'data, 'file, R> Sync for SymbolTable<'data, 'file, R>where
R: Sync,
impl<'data, 'file, R> Unpin for SymbolTable<'data, 'file, R>where
R: Unpin,
impl<'data, 'file, R> UnwindSafe for SymbolTable<'data, 'file, R>where
R: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more