Enum object::read::RelocationTarget [−][src]
pub enum RelocationTarget { Symbol(SymbolIndex), Section(SectionIndex), Absolute, }
The target referenced by a relocation.
Variants
Symbol(SymbolIndex)
The target is a symbol.
Section(SectionIndex)
The target is a section.
The offset is an absolute address.
Trait Implementations
impl Clone for RelocationTarget
[src]
impl Clone for RelocationTarget
[src]fn clone(&self) -> RelocationTarget
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Hash for RelocationTarget
[src]
impl Hash for RelocationTarget
[src]impl PartialEq<RelocationTarget> for RelocationTarget
[src]
impl PartialEq<RelocationTarget> for RelocationTarget
[src]fn eq(&self, other: &RelocationTarget) -> bool
[src]
fn ne(&self, other: &RelocationTarget) -> bool
[src]
impl Copy for RelocationTarget
[src]
impl Eq for RelocationTarget
[src]
impl StructuralEq for RelocationTarget
[src]
impl StructuralPartialEq for RelocationTarget
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.