class

Wasmer::Table

Inherits Wasmer::WithExtern / Reference / Object

A Table instance is the runtime representation of a table. It holds a vector of function elements and an optional maximum size, if one was specified in the table type at the table’s definition site.

A table created by the host or in WebAssembly code will be accessible and mutable from both host and WebAssembly.

See also

Specification: https://webassembly.github.io/spec/core/exec/runtime.html#table-instances

Instance methods

size

Returns the Table's size

table = instance.table("exported_table").not_nil!
size = table.size
Source
to_extern
Source
to_unsafe
Source