Struct wasmtime_environ::BuiltinFunctionIndex
source · 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 out_of_gas() -> Self
pub const fn new_epoch() -> 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§fn eq(&self, other: &BuiltinFunctionIndex) -> bool
fn eq(&self, other: &BuiltinFunctionIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BuiltinFunctionIndex
impl PartialOrd for BuiltinFunctionIndex
source§fn partial_cmp(&self, other: &BuiltinFunctionIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &BuiltinFunctionIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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<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.