Wasmtime
wasmtime::TableType::Ref Class Reference

#include <table.hh>

Public Member Functions

 Ref (const wasm_tabletype_t *ptr)
 Creates a reference from the raw underlying C API representation.
 
 Ref (const TableType &ty)
 Creates a reference to the provided TableType.
 
uint32_t min () const
 Returns the minimum size of this table type, in elements.
 
std::optional< uint32_t > max () const
 Returns the maximum size of this table type, in elements, if present.
 
ValType::Ref element () const
 Returns the type of value that is stored in this table.
 

Friends

class TableType
 

Detailed Description

Non-owning reference to a TableType, must not be used after the original owner is deleted.


The documentation for this class was generated from the following file: