pub struct Symbol {
    pub name: Vec<u8>,
    pub value: u64,
    pub size: u64,
    pub kind: SymbolKind,
    pub scope: SymbolScope,
    pub weak: bool,
    pub section: SymbolSection,
    pub flags: SymbolFlags<SectionId, SymbolId>,
}Expand description
A symbol in an object file.
Fields§
§name: Vec<u8>The name of the symbol.
value: u64The value of the symbol.
If the symbol defined in a section, then this is the section offset of the symbol.
size: u64The size of the symbol.
kind: SymbolKindThe kind of the symbol.
scope: SymbolScopeThe scope of the symbol.
weak: boolWhether the symbol has weak binding.
section: SymbolSectionThe section containing the symbol.
flags: SymbolFlags<SectionId, SymbolId>Symbol flags that are specific to each file format.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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