Struct wasmi::TableInstance [] [src]

pub struct TableInstance { /* fields omitted */ }

Runtime representation of a table.

A table is a array of untyped functions. It allows wasm code to call functions indirectly through a dynamic index into a table. For example, this allows emulating function pointers by way of table indices.

Table is created with an initial size but can be grown dynamically via grow method. Growth can be limited by an optional maximum size.

In future, a table might be extended to be able to hold not only functions but different types.

Methods

impl TableInstance
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Get the specific value in the table

[src]

Set the table element to the specified function.

Trait Implementations

impl Debug for TableInstance
[src]

[src]

Formats the value using the given formatter.