Struct wasmer_vm::VMBuiltinFunctionIndex[][src]

pub struct VMBuiltinFunctionIndex(_);
Expand description

An index type for builtin functions.

Implementations

Returns an index for wasm’s memory.grow builtin function.

Returns an index for wasm’s imported memory.grow builtin function.

Returns an index for wasm’s memory.size builtin function.

Returns an index for wasm’s imported memory.size builtin function.

Returns an index for wasm’s table.copy when both tables are locally defined.

Returns an index for wasm’s table.init.

Returns an index for wasm’s elem.drop.

Returns an index for wasm’s memory.copy for locally defined memories.

Returns an index for wasm’s memory.copy for imported memories.

Returns an index for wasm’s memory.fill for locally defined memories.

Returns an index for wasm’s memory.fill for imported memories.

Returns an index for wasm’s memory.init instruction.

Returns an index for wasm’s data.drop instruction.

Returns an index for wasm’s raise_trap instruction.

Returns an index for wasm’s table.size instruction for local tables.

Returns an index for wasm’s table.size instruction for imported tables.

Returns an index for wasm’s table.grow instruction for local tables.

Returns an index for wasm’s table.grow instruction for imported tables.

Returns an index for wasm’s table.get instruction for local tables.

Returns an index for wasm’s table.get instruction for imported tables.

Returns an index for wasm’s table.set instruction for local tables.

Returns an index for wasm’s table.set instruction for imported tables.

Returns an index for wasm’s func.ref instruction.

Returns an index for wasm’s table.fill instruction for local tables.

Returns an index for a function to increment the externref count.

Returns an index for a function to decrement the externref count.

Returns the total number of builtin functions.

Return the index as an u32 number.

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

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

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)

Uses borrowed data to replace owned data, usually by cloning. 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.