[−][src]Struct wasmtime_environ::BuiltinFunctionIndex
An index type for builtin functions.
Methods
impl BuiltinFunctionIndex
[src]
pub const fn get_memory32_grow_index() -> Self
[src]
Returns an index for wasm's memory.grow
builtin function.
pub const fn get_imported_memory32_grow_index() -> Self
[src]
Returns an index for wasm's imported memory.grow
builtin function.
pub const fn get_memory32_size_index() -> Self
[src]
Returns an index for wasm's memory.size
builtin function.
pub const fn get_imported_memory32_size_index() -> Self
[src]
Returns an index for wasm's imported memory.size
builtin function.
pub const fn builtin_functions_total_number() -> u32
[src]
Returns the total number of builtin functions.
pub const fn index(&self) -> u32
[src]
Return the index as an u32 number.
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,