Struct wasmtime_environ::BuiltinFunctionIndex [−][src]
pub struct BuiltinFunctionIndex(_);
Expand description
An index type for builtin functions.
Implementations
impl BuiltinFunctionIndex[src]
impl BuiltinFunctionIndex[src]pub const fn memory32_grow() -> Self[src]
pub const fn memory32_grow() -> Self[src]Returns an index for wasm’s memory.grow builtin function.
pub const fn imported_memory32_grow() -> Self[src]
pub const fn imported_memory32_grow() -> Self[src]Returns an index for wasm’s imported memory.grow builtin function.
pub const fn memory32_size() -> Self[src]
pub const fn memory32_size() -> Self[src]Returns an index for wasm’s memory.size builtin function.
pub const fn imported_memory32_size() -> Self[src]
pub const fn imported_memory32_size() -> Self[src]Returns an index for wasm’s imported memory.size builtin function.
pub const fn table_copy() -> Self[src]
pub const fn table_copy() -> Self[src]Returns an index for wasm’s table.copy when both tables are locally
defined.
pub const fn table_init() -> Self[src]
pub const fn table_init() -> Self[src]Returns an index for wasm’s table.init.
pub const fn memory_copy() -> Self[src]
pub const fn memory_copy() -> Self[src]Returns an index for wasm’s memory.copy
pub const fn memory_fill() -> Self[src]
pub const fn memory_fill() -> Self[src]Returns an index for wasm’s memory.fill for locally defined memories.
pub const fn imported_memory_fill() -> Self[src]
pub const fn imported_memory_fill() -> Self[src]Returns an index for wasm’s memory.fill for imported memories.
pub const fn memory_init() -> Self[src]
pub const fn memory_init() -> Self[src]Returns an index for wasm’s memory.init instruction.
pub const fn table_grow_funcref() -> Self[src]
pub const fn table_grow_funcref() -> Self[src]Returns an index for Wasm’s table.grow instruction for funcrefs.
pub const fn table_grow_externref() -> Self[src]
pub const fn table_grow_externref() -> Self[src]Returns an index for Wasm’s table.grow instruction for externrefs.
pub const fn table_fill_externref() -> Self[src]
pub const fn table_fill_externref() -> Self[src]Returns an index for Wasm’s table.fill instruction for externrefs.
pub const fn table_fill_funcref() -> Self[src]
pub const fn table_fill_funcref() -> Self[src]Returns an index for Wasm’s table.fill instruction for funcrefs.
pub const fn drop_externref() -> Self[src]
pub const fn drop_externref() -> Self[src]Returns an index to drop a VMExternRef.
pub const fn activations_table_insert_with_gc() -> Self[src]
pub const fn activations_table_insert_with_gc() -> Self[src]Returns an index to do a GC and then insert a VMExternRef into the
VMExternRefActivationsTable.
pub const fn externref_global_get() -> Self[src]
pub const fn externref_global_get() -> Self[src]Returns an index for Wasm’s global.get instruction for externrefs.
pub const fn externref_global_set() -> Self[src]
pub const fn externref_global_set() -> Self[src]Returns an index for Wasm’s global.get instruction for externrefs.
pub const fn memory_atomic_notify() -> Self[src]
pub const fn memory_atomic_notify() -> Self[src]Returns an index for wasm’s memory.atomic.notify for locally defined memories.
pub const fn imported_memory_atomic_notify() -> Self[src]
pub const fn imported_memory_atomic_notify() -> Self[src]Returns an index for wasm’s memory.atomic.notify for imported memories.
pub const fn memory_atomic_wait32() -> Self[src]
pub const fn memory_atomic_wait32() -> Self[src]Returns an index for wasm’s memory.atomic.wait32 for locally defined memories.
pub const fn imported_memory_atomic_wait32() -> Self[src]
pub const fn imported_memory_atomic_wait32() -> Self[src]Returns an index for wasm’s memory.atomic.wait32 for imported memories.
pub const fn memory_atomic_wait64() -> Self[src]
pub const fn memory_atomic_wait64() -> Self[src]Returns an index for wasm’s memory.atomic.wait64 for locally defined memories.
pub const fn imported_memory_atomic_wait64() -> Self[src]
pub const fn imported_memory_atomic_wait64() -> Self[src]Returns an index for wasm’s memory.atomic.wait64 for imported memories.
pub const fn out_of_gas() -> Self[src]
pub const fn out_of_gas() -> Self[src]Invoked when fuel has run out while executing a function.
pub const fn builtin_functions_total_number() -> u32[src]
pub const fn builtin_functions_total_number() -> u32[src]Returns the total number of builtin functions.
Trait Implementations
impl Clone for BuiltinFunctionIndex[src]
impl Clone for BuiltinFunctionIndex[src]fn clone(&self) -> BuiltinFunctionIndex[src]
fn clone(&self) -> BuiltinFunctionIndex[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for BuiltinFunctionIndex[src]
impl Debug for BuiltinFunctionIndex[src]impl Copy for BuiltinFunctionIndex[src]
Auto Trait Implementations
impl RefUnwindSafe for BuiltinFunctionIndex
impl Send for BuiltinFunctionIndex
impl Sync for BuiltinFunctionIndex
impl Unpin for BuiltinFunctionIndex
impl UnwindSafe for BuiltinFunctionIndex
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more