[][src]Enum wasmer_compiler::RelocationKind

pub enum RelocationKind {
    Abs4,
    Abs8,
    X86PCRel4,
    X86PCRel8,
    X86PCRelRodata4,
    X86CallPCRel4,
    X86CallPLTRel4,
}

Relocation kinds for every ISA.

Variants

Abs4

absolute 4-byte

Abs8

absolute 8-byte

X86PCRel4

x86 PC-relative 4-byte

X86PCRel8

x86 PC-relative 8-byte

X86PCRelRodata4

x86 PC-relative 4-byte offset to trailing rodata

X86CallPCRel4

x86 call to PC-relative 4-byte

X86CallPLTRel4

x86 call to PLT-relative 4-byte

Trait Implementations

impl Clone for RelocationKind[src]

impl Copy for RelocationKind[src]

impl Debug for RelocationKind[src]

impl<'de> Deserialize<'de> for RelocationKind[src]

impl Display for RelocationKind[src]

pub fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Display trait implementation drops the arch, since its used in contexts where the arch is already unambiguous, e.g. clif syntax with isa specified. In other contexts, use Debug.

impl Eq for RelocationKind[src]

impl PartialEq<RelocationKind> for RelocationKind[src]

impl Serialize for RelocationKind[src]

impl StructuralEq for RelocationKind[src]

impl StructuralPartialEq for RelocationKind[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> ToString for T where
    T: Display + ?Sized
[src]

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.