|
Wasmtime
|
Type information about a WebAssembly value. More...
#include <val.hh>
Data Structures | |
| class | ListRef |
Non-owning reference to a list of ValType instances. Must not be used after the original owner is deleted. More... | |
| class | Ref |
Non-owning reference to a ValType, must not be used after the original ValType is deleted. More... | |
Public Member Functions | |
| ValType (ValKind kind) | |
| Creates a new type from its kind. | |
| ValType (Ref other) | |
Copies a Ref to a new owned value. | |
| ValType (const ValType &other) | |
| Copies one type to a new one. | |
| ValType & | operator= (const ValType &other) |
| Copies the contents of another type into this one. | |
| ValType (ValType &&other)=default | |
| Moves the memory owned by another value type into this one. | |
| ValType & | operator= (ValType &&other)=default |
| Moves the memory owned by another value type into this one. | |
| Ref * | operator-> () |
Returns the underlying Ref, a non-owning reference pointing to this instance. | |
| Ref * | operator* () |
Returns the underlying Ref, a non-owning reference pointing to this instance. | |
Friends | |
| class | TableType |
| class | GlobalType |
| class | FuncType |
Type information about a WebAssembly value.
Currently mostly just contains the ValKind.