Lines Matching refs:StructRef
16 class StructRef;
114 inline StructRef as_struct(Store::Context cx) const;
181 friend class StructRef;
199 class StructRef { class
208 explicit StructRef(wasmtime_structref_t val) : val(val) {} in StructRef() function in wasmtime::StructRef
211 StructRef(const StructRef &other) { in StructRef() function in wasmtime::StructRef
216 StructRef &operator=(const StructRef &other) { in operator =()
223 StructRef(StructRef &&other) { in StructRef() function in wasmtime::StructRef
229 StructRef &operator=(StructRef &&other) { in operator =()
237 ~StructRef() { wasmtime_structref_unroot(&val); } in ~StructRef()
240 static Result<StructRef> create(Store::Context cx, const StructRefPre &pre, in create()
252 return Result<StructRef>(Error(err)); in create()
253 return Result<StructRef>(StructRef(out)); in create()
290 inline StructRef EqRef::as_struct(Store::Context cx) const { in as_struct()
293 return StructRef(out); in as_struct()
464 inline std::optional<StructRef> AnyRef::as_struct(Store::Context cx) const { in as_struct()
467 return StructRef(out); in as_struct()