pub struct ElfSymbol<'data, 'file, Elf> where
    'data: 'file,
    Elf: FileHeader,  { /* private fields */ }Expand description
A symbol of an ElfFile.
Trait Implementations
sourceimpl<'data, 'file, Elf: Clone> Clone for ElfSymbol<'data, 'file, Elf> where
    'data: 'file,
    Elf: FileHeader,
    Elf::Endian: Clone,
    Elf::Sym: Clone, 
 
impl<'data, 'file, Elf: Clone> Clone for ElfSymbol<'data, 'file, Elf> where
    'data: 'file,
    Elf: FileHeader,
    Elf::Endian: Clone,
    Elf::Sym: Clone, 
sourceimpl<'data, 'file, Elf: Debug> Debug for ElfSymbol<'data, 'file, Elf> where
    'data: 'file,
    Elf: FileHeader,
    Elf::Endian: Debug,
    Elf::Sym: Debug, 
 
impl<'data, 'file, Elf: Debug> Debug for ElfSymbol<'data, 'file, Elf> where
    'data: 'file,
    Elf: FileHeader,
    Elf::Endian: Debug,
    Elf::Sym: Debug, 
sourceimpl<'data, 'file, Elf: FileHeader> ObjectSymbol<'data> for ElfSymbol<'data, 'file, Elf>
 
impl<'data, 'file, Elf: FileHeader> ObjectSymbol<'data> for ElfSymbol<'data, 'file, Elf>
sourcefn index(&self) -> SymbolIndex
 
fn index(&self) -> SymbolIndex
The index of the symbol.
sourcefn kind(&self) -> SymbolKind
 
fn kind(&self) -> SymbolKind
Return the kind of this symbol.
sourcefn section(&self) -> SymbolSection
 
fn section(&self) -> SymbolSection
Returns the section where the symbol is defined.
sourcefn is_undefined(&self) -> bool
 
fn is_undefined(&self) -> bool
Return true if the symbol is undefined.
sourcefn is_definition(&self) -> bool
 
fn is_definition(&self) -> bool
Return true if the symbol is a definition of a function or data object that has a known address. Read more
sourcefn scope(&self) -> SymbolScope
 
fn scope(&self) -> SymbolScope
Returns the symbol scope.
sourcefn is_global(&self) -> bool
 
fn is_global(&self) -> bool
Return true if the symbol visible outside of the compilation unit. Read more
sourcefn is_local(&self) -> bool
 
fn is_local(&self) -> bool
Return true if the symbol is only visible within the compilation unit.
sourcefn flags(&self) -> SymbolFlags<SectionIndex>
 
fn flags(&self) -> SymbolFlags<SectionIndex>
Symbol flags that are specific to each file format.
sourcefn section_index(&self) -> Option<SectionIndex>
 
fn section_index(&self) -> Option<SectionIndex>
Returns the section index for the section containing this symbol. Read more
impl<'data, 'file, Elf: Copy> Copy for ElfSymbol<'data, 'file, Elf> where
    'data: 'file,
    Elf: FileHeader,
    Elf::Endian: Copy,
    Elf::Sym: Copy, 
Auto Trait Implementations
impl<'data, 'file, Elf> RefUnwindSafe for ElfSymbol<'data, 'file, Elf> where
    <Elf as FileHeader>::Endian: RefUnwindSafe,
    <Elf as FileHeader>::Sym: RefUnwindSafe, 
impl<'data, 'file, Elf> Send for ElfSymbol<'data, 'file, Elf> where
    <Elf as FileHeader>::Endian: Send,
    <Elf as FileHeader>::Sym: Sync, 
impl<'data, 'file, Elf> Sync for ElfSymbol<'data, 'file, Elf> where
    <Elf as FileHeader>::Endian: Sync,
    <Elf as FileHeader>::Sym: Sync, 
impl<'data, 'file, Elf> Unpin for ElfSymbol<'data, 'file, Elf> where
    <Elf as FileHeader>::Endian: Unpin,
    'data: 'file, 
impl<'data, 'file, Elf> UnwindSafe for ElfSymbol<'data, 'file, Elf> where
    <Elf as FileHeader>::Endian: UnwindSafe,
    <Elf as FileHeader>::Sym: RefUnwindSafe, 
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
 
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
 
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
 
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more