[][src]Enum wasmtime_environ::RelocationTarget

pub enum RelocationTarget {
    UserFunc(FuncIndex),
    LibCall(LibCall),
    Memory32Grow,
    ImportedMemory32Grow,
    Memory32Size,
    ImportedMemory32Size,
    JumpTable(FuncIndexJumpTable),
}

Destination function. Can be either user function or some special one, like memory.grow.

Variants

UserFunc(FuncIndex)

The user function index.

LibCall(LibCall)

A compiler-generated libcall.

Memory32Grow

Function for growing a locally-defined 32-bit memory by the specified amount of pages.

ImportedMemory32Grow

Function for growing an imported 32-bit memory by the specified amount of pages.

Memory32Size

Function for query current size of a locally-defined 32-bit linear memory.

ImportedMemory32Size

Function for query current size of an imported 32-bit linear memory.

JumpTable(FuncIndexJumpTable)

Jump table index.

Trait Implementations

impl PartialEq<RelocationTarget> for RelocationTarget[src]

impl Eq for RelocationTarget[src]

impl Debug for RelocationTarget[src]

impl Copy for RelocationTarget[src]

impl Clone for RelocationTarget[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Serialize for RelocationTarget[src]

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

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self