Struct wasmtime_environ::BuiltinFunctionIndex 
source · pub struct BuiltinFunctionIndex(_);Expand description
An index type for builtin functions.
Implementations§
source§impl BuiltinFunctionIndex
 
impl BuiltinFunctionIndex
sourcepub const fn memory32_grow() -> Self
 
pub const fn memory32_grow() -> Self
Returns an index for wasm’s memory.grow builtin function.
sourcepub const fn table_copy() -> Self
 
pub const fn table_copy() -> Self
Returns an index for wasm’s table.copy when both tables are locally
defined.
sourcepub const fn table_init() -> Self
 
pub const fn table_init() -> Self
Returns an index for wasm’s table.init.
sourcepub const fn memory_copy() -> Self
 
pub const fn memory_copy() -> Self
Returns an index for wasm’s memory.copy
sourcepub const fn memory_fill() -> Self
 
pub const fn memory_fill() -> Self
Returns an index for wasm’s memory.fill instruction.
sourcepub const fn memory_init() -> Self
 
pub const fn memory_init() -> Self
Returns an index for wasm’s memory.init instruction.
sourcepub const fn table_get_lazy_init_funcref() -> Self
 
pub const fn table_get_lazy_init_funcref() -> Self
Returns a table entry after lazily initializing it.
sourcepub const fn table_grow_funcref() -> Self
 
pub const fn table_grow_funcref() -> Self
Returns an index for Wasm’s table.grow instruction for funcrefs.
sourcepub const fn table_grow_externref() -> Self
 
pub const fn table_grow_externref() -> Self
Returns an index for Wasm’s table.grow instruction for externrefs.
sourcepub const fn table_fill_externref() -> Self
 
pub const fn table_fill_externref() -> Self
Returns an index for Wasm’s table.fill instruction for externrefs.
sourcepub const fn table_fill_funcref() -> Self
 
pub const fn table_fill_funcref() -> Self
Returns an index for Wasm’s table.fill instruction for funcrefs.
sourcepub const fn drop_externref() -> Self
 
pub const fn drop_externref() -> Self
Returns an index to drop a VMExternRef.
sourcepub const fn activations_table_insert_with_gc() -> Self
 
pub const fn activations_table_insert_with_gc() -> Self
Returns an index to do a GC and then insert a VMExternRef into the
VMExternRefActivationsTable.
sourcepub const fn externref_global_get() -> Self
 
pub const fn externref_global_get() -> Self
Returns an index for Wasm’s global.get instruction for externrefs.
sourcepub const fn externref_global_set() -> Self
 
pub const fn externref_global_set() -> Self
Returns an index for Wasm’s global.get instruction for externrefs.
sourcepub const fn memory_atomic_notify() -> Self
 
pub const fn memory_atomic_notify() -> Self
Returns an index for wasm’s memory.atomic.notify instruction.
sourcepub const fn memory_atomic_wait32() -> Self
 
pub const fn memory_atomic_wait32() -> Self
Returns an index for wasm’s memory.atomic.wait32 instruction.
sourcepub const fn memory_atomic_wait64() -> Self
 
pub const fn memory_atomic_wait64() -> Self
Returns an index for wasm’s memory.atomic.wait64 instruction.
sourcepub const fn out_of_gas() -> Self
 
pub const fn out_of_gas() -> Self
Invoked when fuel has run out while executing a 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 BuiltinFunctionIndex
 
impl Clone for BuiltinFunctionIndex
source§fn clone(&self) -> BuiltinFunctionIndex
 
fn clone(&self) -> BuiltinFunctionIndex
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more