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 wasm’s local memory.atomic.wait32 builtin function.

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

Returns an index for wasm’s local memory.atomic.wait64 builtin function.

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

Returns an index for wasm’s local memory.atomic.notify builtin function.

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

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
Deserializes using the given deserializer

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 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
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.