pub struct BuiltinFunctionIndex(/* private fields */);
Expand description
An index type for builtin functions.
Implementations§
Source§impl BuiltinFunctionIndex
impl BuiltinFunctionIndex
pub const fn memory32_grow() -> Self
pub const fn table_copy() -> Self
pub const fn table_init() -> Self
pub const fn elem_drop() -> Self
pub const fn memory_copy() -> Self
pub const fn memory_fill() -> Self
pub const fn memory_init() -> Self
pub const fn ref_func() -> Self
pub const fn data_drop() -> Self
pub const fn table_get_lazy_init_func_ref() -> Self
pub const fn table_grow_func_ref() -> Self
pub const fn table_fill_func_ref() -> Self
pub const fn memory_atomic_notify() -> Self
pub const fn memory_atomic_wait32() -> Self
pub const fn memory_atomic_wait64() -> Self
pub const fn out_of_gas() -> Self
pub const fn new_epoch() -> Self
pub const fn check_malloc() -> Self
pub const fn check_free() -> Self
pub const fn check_load() -> Self
pub const fn check_store() -> Self
pub const fn malloc_start() -> Self
pub const fn free_start() -> Self
pub const fn update_stack_pointer() -> Self
pub const fn update_mem_size() -> Self
pub const fn drop_gc_ref() -> Self
pub const fn gc() -> Self
pub const fn gc_ref_global_get() -> Self
pub const fn gc_ref_global_set() -> Self
pub const fn table_grow_gc_ref() -> Self
pub const fn table_fill_gc_ref() -> Self
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
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BuiltinFunctionIndex
impl Debug for BuiltinFunctionIndex
Source§impl Hash for BuiltinFunctionIndex
impl Hash for BuiltinFunctionIndex
Source§impl Ord for BuiltinFunctionIndex
impl Ord for BuiltinFunctionIndex
Source§fn cmp(&self, other: &BuiltinFunctionIndex) -> Ordering
fn cmp(&self, other: &BuiltinFunctionIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BuiltinFunctionIndex
impl PartialEq for BuiltinFunctionIndex
Source§impl PartialOrd for BuiltinFunctionIndex
impl PartialOrd for BuiltinFunctionIndex
impl Copy for BuiltinFunctionIndex
impl Eq for BuiltinFunctionIndex
impl StructuralPartialEq for BuiltinFunctionIndex
Auto Trait Implementations§
impl Freeze for BuiltinFunctionIndex
impl RefUnwindSafe for BuiltinFunctionIndex
impl Send for BuiltinFunctionIndex
impl Sync for BuiltinFunctionIndex
impl Unpin for BuiltinFunctionIndex
impl UnwindSafe for BuiltinFunctionIndex
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.