Enum object::read::SymbolSection [−][src]
#[non_exhaustive] pub enum SymbolSection { Unknown, None, Undefined, Absolute, Common, Section(SectionIndex), }
Expand description
The section where a symbol is defined.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
The section is unknown.
The section is not applicable for this symbol (such as file symbols).
The symbol is undefined.
The symbol has an absolute value.
The symbol is a zero-initialized symbol that will be combined with duplicate definitions.
The symbol is defined in the given section.
Tuple Fields of Section
0: SectionIndex
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