Enum object::read::RelocationTarget
source · [−]#[non_exhaustive]
pub enum RelocationTarget {
Symbol(SymbolIndex),
Section(SectionIndex),
Absolute,
}
Expand description
The target referenced by a relocation.
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.
Symbol(SymbolIndex)
The target is a symbol.
Section(SectionIndex)
The target is a section.
Absolute
The offset is an absolute address.
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 RelocationTarget
impl Send for RelocationTarget
impl Sync for RelocationTarget
impl Unpin for RelocationTarget
impl UnwindSafe for RelocationTarget
Blanket Implementations
Mutably borrows from an owned value. Read more