Enum object::RelocationEncoding[][src]

pub enum RelocationEncoding {
    Generic,
    X86Signed,
    X86RipRelative,
    X86RipRelativeMovq,
    X86Branch,
    S390xDbl,
}

Information about how the result of the relocation operation is encoded in the place.

This is usually architecture specific, such as specifying an addressing mode or a specific instruction.

Variants

Generic

Generic encoding.

X86Signed

x86 sign extension at runtime.

Used with RelocationKind::Absolute.

X86RipRelative

x86 rip-relative addressing.

The RelocationKind must be PC relative.

X86RipRelativeMovq

x86 rip-relative addressing in movq instruction.

The RelocationKind must be PC relative.

X86Branch

x86 branch instruction.

The RelocationKind must be PC relative.

S390xDbl

s390x PC-relative offset shifted right by one bit.

The RelocationKind must be PC relative.

Trait Implementations

impl Clone for RelocationEncoding[src]

impl Copy for RelocationEncoding[src]

impl Debug for RelocationEncoding[src]

impl Eq for RelocationEncoding[src]

impl PartialEq<RelocationEncoding> for RelocationEncoding[src]

impl StructuralEq for RelocationEncoding[src]

impl StructuralPartialEq for RelocationEncoding[src]

Auto Trait Implementations

impl Send for RelocationEncoding

impl Sync for RelocationEncoding

impl Unpin for RelocationEncoding

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.