Enum object::read::SymbolSection [−][src]
pub enum SymbolSection {
Unknown,
None,
Undefined,
Absolute,
Common,
Section(SectionIndex),
}
Expand description
The section where a symbol is defined.
Variants
Unknown
The section is unknown.
None
The section is not applicable for this symbol (such as file symbols).
Undefined
The symbol is undefined.
Absolute
The symbol has an absolute value.
Common
The symbol is a zero-initialized symbol that will be combined with duplicate definitions.
Section(SectionIndex)
Tuple Fields
0: SectionIndex
The symbol is defined in the given section.
Implementations
Returns the section index for the section where the symbol is defined.
May return None
if the symbol is not defined in a section.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SymbolSection
impl Send for SymbolSection
impl Sync for SymbolSection
impl Unpin for SymbolSection
impl UnwindSafe for SymbolSection
Blanket Implementations
Mutably borrows from an owned value. Read more