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.

Absolute

The offset is an absolute address.

Trait Implementations

impl Clone for RelocationTarget[src]

impl Copy for RelocationTarget[src]

impl Debug for RelocationTarget[src]

impl Eq for RelocationTarget[src]

impl Hash for RelocationTarget[src]

impl PartialEq<RelocationTarget> for RelocationTarget[src]

impl StructuralEq for RelocationTarget[src]

impl StructuralPartialEq for RelocationTarget[src]

Auto Trait Implementations

impl Send for RelocationTarget

impl Sync for RelocationTarget

impl Unpin for RelocationTarget

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.