Enum wasmer_vm::libcalls::LibCall[][src]

pub enum LibCall {
Show variants CeilF32, CeilF64, FloorF32, FloorF64, NearestF32, NearestF64, TruncF32, TruncF64, Memory32Size, ImportedMemory32Size, TableCopy, TableInit, TableFill, TableSize, ImportedTableSize, TableGet, ImportedTableGet, TableSet, ImportedTableSet, TableGrow, ImportedTableGrow, FuncRef, ElemDrop, Memory32Copy, ImportedMemory32Copy, Memory32Fill, ImportedMemory32Fill, Memory32Init, DataDrop, RaiseTrap, Probestack,
}
Expand description

The name of a runtime library routine.

This list is likely to grow over time.

Variants

CeilF32

ceil.f32

CeilF64

ceil.f64

FloorF32

floor.f32

FloorF64

floor.f64

NearestF32

nearest.f32

NearestF64

nearest.f64

TruncF32

trunc.f32

TruncF64

trunc.f64

Memory32Size

memory.size for local functions

ImportedMemory32Size

memory.size for imported functions

TableCopy

table.copy

TableInit

table.init

TableFill

table.fill

TableSize

table.size for local tables

ImportedTableSize

table.size for imported tables

TableGet

table.get for local tables

ImportedTableGet

table.get for imported tables

TableSet

table.set for local tables

ImportedTableSet

table.set for imported tables

TableGrow

table.grow for local tables

ImportedTableGrow

table.grow for imported tables

FuncRef

ref.func

ElemDrop

elem.drop

Memory32Copy

memory.copy for local memories

ImportedMemory32Copy

memory.copy for imported memories

Memory32Fill

memory.fill for local memories

ImportedMemory32Fill

memory.fill for imported memories

Memory32Init

memory.init

DataDrop

data.drop

RaiseTrap

A custom trap

Probestack

probe for stack overflow. These are emitted for functions which need when the enable_probestack setting is true.

Implementations

The function pointer to a libcall

Return the function name associated to the libcall.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

Returns the size of the referenced value in bytes. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The type for metadata in pointers and references to Self.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.