pub struct Symbol<'data> { /* private fields */ }
Expand description
A symbol table entry.
Implementations§
source§impl<'data> Symbol<'data>
impl<'data> Symbol<'data>
sourcepub fn kind(&self) -> SymbolKind
pub fn kind(&self) -> SymbolKind
Return the kind of this symbol.
sourcepub fn section_kind(&self) -> Option<SectionKind>
pub fn section_kind(&self) -> Option<SectionKind>
Returns the section kind for the symbol, or None
if the symbol is undefined.
sourcepub fn is_undefined(&self) -> bool
pub fn is_undefined(&self) -> bool
Return true if the symbol is undefined.