|
Wasmtime
|
#include <val.hh>
Public Member Functions | |
| ResourceType (wasmtime_component_resource_type_t *raw) | |
Takes ownership of raw and wraps it with this class. | |
| ResourceType (uint32_t ty) | |
Creates a new host resource type with the specified ty identifier. | |
| ResourceType (const ResourceType &other) | |
| Copies another resource into this one. | |
| ResourceType & | operator= (const ResourceType &other) |
| Copies another resource into this one. | |
| ResourceType (ResourceType &&other)=default | |
| Moves resources from another resource into this one. | |
| ResourceType & | operator= (ResourceType &&other)=default |
| Moves resources from another resource into this one. | |
| bool | operator== (const ResourceType &b) const |
| Compares two resource types for equality. | |
| bool | operator!= (const ResourceType &b) const |
| Compares two resource types for inequality. | |
| const wasmtime_component_resource_type_t * | capi () const |
| Returns the underlying C API pointer. | |
| wasmtime_component_resource_type_t * | capi () |
| Returns the underlying C API pointer. | |
Class representing a component model resource value which is either a guest or host-defined resource.