Struct wasmer_types::VMBuiltinFunctionIndex
source · 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 moresource§impl Debug for VMBuiltinFunctionIndex
impl Debug for VMBuiltinFunctionIndex
impl Copy for VMBuiltinFunctionIndex
Auto Trait Implementations§
impl Freeze for VMBuiltinFunctionIndex
impl RefUnwindSafe for VMBuiltinFunctionIndex
impl Send for VMBuiltinFunctionIndex
impl Sync for VMBuiltinFunctionIndex
impl Unpin for VMBuiltinFunctionIndex
impl UnwindSafe for VMBuiltinFunctionIndex
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)