Enum object::read::RelocationTarget [−][src]
pub enum RelocationTarget {
Symbol(SymbolIndex),
Section(SectionIndex),
Absolute,
}
Expand description
The target referenced by a relocation.
Variants
Symbol(SymbolIndex)
Tuple Fields
0: SymbolIndex
The target is a symbol.
Section(SectionIndex)
Tuple Fields
0: 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