[][src]Struct wasmtime_environ::BuiltinFunctionIndex

pub struct 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

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self