Searched refs:as_struct (Results 1 – 10 of 10) sorted by relevance
114 inline StructRef as_struct(Store::Context cx) const;290 inline StructRef EqRef::as_struct(Store::Context cx) const { in as_struct() function in wasmtime::EqRef464 inline std::optional<StructRef> AnyRef::as_struct(Store::Context cx) const { in as_struct() function in wasmtime::AnyRef
202 inline std::optional<StructRef> as_struct(Store::Context cx) const;
77 pub fn as_struct(&self, _store: impl AsContext) -> Result<Option<StructRef>> { in as_struct() method
130 pub fn as_struct(&self, _store: impl AsContext) -> Result<Option<StructRef>> { in as_struct() method
154 StructRef s2 = eq.as_struct(cx); in TEST()279 auto opt_s2 = any.as_struct(cx); in TEST()
370 pub fn as_struct(&self, store: impl AsContext) -> Result<Option<Rooted<StructRef>>> { in as_struct() method
584 pub fn as_struct(&self, store: impl AsContext) -> Result<Option<Rooted<StructRef>>> { in as_struct() method
103 let s1 = anyref.as_struct(&store)?.unwrap(); in anyref_as_struct()109 assert!(anyref.as_struct(&store)?.is_none()); in anyref_as_struct()
1273 pub fn as_struct(&self) -> Option<&WasmStructType> { in as_struct() method1282 self.as_struct().unwrap() in unwrap_struct()1442 pub fn as_struct(&self) -> Option<&WasmStructType> { in as_struct() method1446 self.composite_type.inner.as_struct() in as_struct()
760 if let Ok(Some(structref)) = rooted.as_struct(&scope) { in wasmtime_eqref_as_struct()991 if let Ok(Some(structref)) = rooted.as_struct(&scope) { in wasmtime_anyref_as_struct()