Wasmtime
wasmtime::ValType::ListRef Class Reference

Non-owning reference to a list of ValType instances. Must not be used after the original owner is deleted. More...

#include <val.hh>

Public Types

typedef const Refiterator
 This list iterates over a list of ValType::Ref instances.
 

Public Member Functions

 ListRef (const wasm_valtype_vec_t *list)
 Creates a list from the raw underlying C API.
 
iterator begin () const
 Pointer to the beginning of iteration.
 
iterator end () const
 Pointer to the end of iteration.
 
size_t size () const
 Returns how many types are in this list.
 

Detailed Description

Non-owning reference to a list of ValType instances. Must not be used after the original owner is deleted.


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