Wasmtime
wasmtime::FuncType Class Reference

Type information for a WebAssembly function. More...

#include <func.hh>

Data Structures

class  Ref
 

Public Member Functions

 FuncType (std::initializer_list< ValType > params, std::initializer_list< ValType > results)
 Creates a new function type from the given list of parameters and results.
 
 FuncType (Ref other)
 Copies a reference into a uniquely owned function type.
 
 FuncType (const FuncType &other)
 Copies another type's information into this one.
 
FuncTypeoperator= (const FuncType &other)
 Copies another type's information into this one.
 
 FuncType (FuncType &&other)=default
 Moves type information from another type into this one.
 
FuncTypeoperator= (FuncType &&other)=default
 Moves type information from another 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.
 

Static Public Member Functions

template<typename P , typename R >
static FuncType from_iters (P params, R results)
 Creates a new function type from the given list of parameters and results.
 

Friends

class Func
 
class Linker
 

Detailed Description

Type information for a WebAssembly function.


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