Struct object::read::Symbol [−][src]
pub struct Symbol<'data, 'file, R = &'data [u8]> where
'data: 'file,
R: ReadRef<'data>, { /* fields omitted */ }
Expand description
A symbol table entry.
Trait Implementations
impl<'data, 'file, R: ReadRef<'data>> ObjectSymbol<'data> for Symbol<'data, 'file, R>
[src]
impl<'data, 'file, R: ReadRef<'data>> ObjectSymbol<'data> for Symbol<'data, 'file, R>
[src]fn index(&self) -> SymbolIndex
[src]
fn index(&self) -> SymbolIndex
[src]The index of the symbol.
fn kind(&self) -> SymbolKind
[src]
fn kind(&self) -> SymbolKind
[src]Return the kind of this symbol.
fn section(&self) -> SymbolSection
[src]
fn section(&self) -> SymbolSection
[src]Returns the section where the symbol is defined.
fn is_undefined(&self) -> bool
[src]
fn is_undefined(&self) -> bool
[src]Return true if the symbol is undefined.
fn is_definition(&self) -> bool
[src]
fn is_definition(&self) -> bool
[src]Return true if the symbol is a definition of a function or data object that has a known address. Read more
fn scope(&self) -> SymbolScope
[src]
fn scope(&self) -> SymbolScope
[src]Returns the symbol scope.
fn is_global(&self) -> bool
[src]
fn is_global(&self) -> bool
[src]Return true if the symbol visible outside of the compilation unit. Read more
fn is_local(&self) -> bool
[src]
fn is_local(&self) -> bool
[src]Return true if the symbol is only visible within the compilation unit.
fn flags(&self) -> SymbolFlags<SectionIndex>
[src]
fn flags(&self) -> SymbolFlags<SectionIndex>
[src]Symbol flags that are specific to each file format.
fn section_index(&self) -> Option<SectionIndex>
[src]
fn section_index(&self) -> Option<SectionIndex>
[src]Returns the section index for the section containing this symbol. Read more
Auto Trait Implementations
impl<'data, 'file, R> RefUnwindSafe for Symbol<'data, 'file, R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<'data, 'file, R> Send for Symbol<'data, 'file, R> where
R: Send + Sync,
R: Send + Sync,
impl<'data, 'file, R> Sync for Symbol<'data, 'file, R> where
R: Sync,
R: Sync,
impl<'data, 'file, R> Unpin for Symbol<'data, 'file, R> where
R: Unpin,
'data: 'file,
R: Unpin,
'data: 'file,
impl<'data, 'file, R> UnwindSafe for Symbol<'data, 'file, R> where
R: RefUnwindSafe + UnwindSafe,
R: RefUnwindSafe + UnwindSafe,