Wasmtime
wasmtime::ValType Class Reference

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.
 
ValTypeoperator= (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.
 
ValTypeoperator= (ValType &&other)=default
 Moves the memory owned by another value type into this one.
 
Refoperator-> ()
 Returns the underlying Ref, a non-owning reference pointing to this instance.
 
Refoperator* ()
 Returns the underlying Ref, a non-owning reference pointing to this instance.
 

Friends

class TableType
 
class GlobalType
 
class FuncType
 

Detailed Description

Type information about a WebAssembly value.

Currently mostly just contains the ValKind.


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