Enum object::read::SymbolSection
source · [−]#[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.
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)
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