pub struct VMBuiltinFunctionIndex(/* private fields */);Expand description
An index type for builtin functions.
Implementations§
Source§impl VMBuiltinFunctionIndex
impl VMBuiltinFunctionIndex
Sourcepub const fn get_memory32_grow_index() -> Self
pub const fn get_memory32_grow_index() -> Self
Returns an index for wasm’s memory.grow builtin function.
Sourcepub const fn get_imported_memory32_grow_index() -> Self
pub const fn get_imported_memory32_grow_index() -> Self
Returns an index for wasm’s imported memory.grow builtin function.
Sourcepub const fn get_memory32_size_index() -> Self
pub const fn get_memory32_size_index() -> Self
Returns an index for wasm’s memory.size builtin function.
Sourcepub const fn get_imported_memory32_size_index() -> Self
pub const fn get_imported_memory32_size_index() -> Self
Returns an index for wasm’s imported memory.size builtin function.
Sourcepub const fn get_table_copy_index() -> Self
pub const fn get_table_copy_index() -> Self
Returns an index for wasm’s table.copy when both tables are locally
defined.
Sourcepub const fn get_table_init_index() -> Self
pub const fn get_table_init_index() -> Self
Returns an index for wasm’s table.init.
Sourcepub const fn get_elem_drop_index() -> Self
pub const fn get_elem_drop_index() -> Self
Returns an index for wasm’s elem.drop.
Sourcepub const fn get_memory_copy_index() -> Self
pub const fn get_memory_copy_index() -> Self
Returns an index for wasm’s memory.copy for locally defined memories.
Sourcepub const fn get_imported_memory_copy_index() -> Self
pub const fn get_imported_memory_copy_index() -> Self
Returns an index for wasm’s memory.copy for imported memories.
Sourcepub const fn get_memory_fill_index() -> Self
pub const fn get_memory_fill_index() -> Self
Returns an index for wasm’s memory.fill for locally defined memories.
Sourcepub const fn get_imported_memory_fill_index() -> Self
pub const fn get_imported_memory_fill_index() -> Self
Returns an index for wasm’s memory.fill for imported memories.
Sourcepub const fn get_memory_init_index() -> Self
pub const fn get_memory_init_index() -> Self
Returns an index for wasm’s memory.init instruction.
Sourcepub const fn get_data_drop_index() -> Self
pub const fn get_data_drop_index() -> Self
Returns an index for wasm’s data.drop instruction.
Sourcepub const fn get_raise_trap_index() -> Self
pub const fn get_raise_trap_index() -> Self
Returns an index for wasm’s raise_trap instruction.
Sourcepub const fn get_table_size_index() -> Self
pub const fn get_table_size_index() -> Self
Returns an index for wasm’s table.size instruction for local tables.
Sourcepub const fn get_imported_table_size_index() -> Self
pub const fn get_imported_table_size_index() -> Self
Returns an index for wasm’s table.size instruction for imported tables.
Sourcepub const fn get_table_grow_index() -> Self
pub const fn get_table_grow_index() -> Self
Returns an index for wasm’s table.grow instruction for local tables.
Sourcepub const fn get_imported_table_grow_index() -> Self
pub const fn get_imported_table_grow_index() -> Self
Returns an index for wasm’s table.grow instruction for imported tables.
Sourcepub const fn get_table_get_index() -> Self
pub const fn get_table_get_index() -> Self
Returns an index for wasm’s table.get instruction for local tables.
Sourcepub const fn get_imported_table_get_index() -> Self
pub const fn get_imported_table_get_index() -> Self
Returns an index for wasm’s table.get instruction for imported tables.
Sourcepub const fn get_table_set_index() -> Self
pub const fn get_table_set_index() -> Self
Returns an index for wasm’s table.set instruction for local tables.
Sourcepub const fn get_imported_table_set_index() -> Self
pub const fn get_imported_table_set_index() -> Self
Returns an index for wasm’s table.set instruction for imported tables.
Sourcepub const fn get_func_ref_index() -> Self
pub const fn get_func_ref_index() -> Self
Returns an index for wasm’s func.ref instruction.
Sourcepub const fn get_table_fill_index() -> Self
pub const fn get_table_fill_index() -> Self
Returns an index for wasm’s table.fill instruction for local tables.
Sourcepub const fn get_memory_atomic_wait32_index() -> Self
pub const fn get_memory_atomic_wait32_index() -> Self
Returns an index for wasm’s local memory.atomic.wait32 builtin function.
Sourcepub const fn get_imported_memory_atomic_wait32_index() -> Self
pub const fn get_imported_memory_atomic_wait32_index() -> Self
Returns an index for wasm’s imported memory.atomic.wait32 builtin function.
Sourcepub const fn get_memory_atomic_wait64_index() -> Self
pub const fn get_memory_atomic_wait64_index() -> Self
Returns an index for wasm’s local memory.atomic.wait64 builtin function.
Sourcepub const fn get_imported_memory_atomic_wait64_index() -> Self
pub const fn get_imported_memory_atomic_wait64_index() -> Self
Returns an index for wasm’s imported memory.atomic.wait64 builtin function.
Sourcepub const fn get_memory_atomic_notify_index() -> Self
pub const fn get_memory_atomic_notify_index() -> Self
Returns an index for wasm’s local memory.atomic.notify builtin function.
Sourcepub const fn get_imported_memory_atomic_notify_index() -> Self
pub const fn get_imported_memory_atomic_notify_index() -> Self
Returns an index for wasm’s imported memory.atomic.notify builtin function.
Sourcepub const fn builtin_functions_total_number() -> u32
pub const fn builtin_functions_total_number() -> u32
Returns the total number of builtin functions.
Trait Implementations§
Source§impl Clone for VMBuiltinFunctionIndex
impl Clone for VMBuiltinFunctionIndex
Source§fn clone(&self) -> VMBuiltinFunctionIndex
fn clone(&self) -> VMBuiltinFunctionIndex
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more