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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out
indicating that a T
is niched.