pub struct BuiltinFunctionIndex(_);
Expand description

An index type for builtin functions.

Implementations

Create a new BuiltinFunctionIndex from its index

Return the index as an u32 number.

Returns an index for wasm’s memory.grow 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

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

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

Returns a value for wasm’s ref.func instruction.

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

Returns a table entry after lazily initializing it.

Returns an index for Wasm’s table.grow instruction for funcrefs.

Returns an index for Wasm’s table.grow instruction for externrefs.

Returns an index for Wasm’s table.fill instruction for externrefs.

Returns an index for Wasm’s table.fill instruction for funcrefs.

Returns an index to drop a VMExternRef.

Returns an index to do a GC and then insert a VMExternRef into the VMExternRefActivationsTable.

Returns an index for Wasm’s global.get instruction for externrefs.

Returns an index for Wasm’s global.get instruction for externrefs.

Returns an index for wasm’s memory.atomic.notify instruction.

Returns an index for wasm’s memory.atomic.wait32 instruction.

Returns an index for wasm’s memory.atomic.wait64 instruction.

Invoked when fuel has run out while executing a function.

Invoked when we reach a new epoch.

Returns the total number of builtin functions.

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

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.