Home
last modified time | relevance | path

Searched defs:StructRef (Results 1 – 9 of 9) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/disabled/
H A Dstructref.rs12 pub enum StructRef {} enum
14 impl GcRefImpl for StructRef {} implementation
16 impl StructRef { impl
H A Deqref.rs77 pub fn as_struct(&self, _store: impl AsContext) -> Result<Option<StructRef>> { in as_struct()
81 pub(crate) fn _as_struct(&self, _store: &StoreOpaque) -> Result<Option<StructRef>> { in _as_struct()
85 pub fn unwrap_struct(&self, _store: impl AsContext) -> Result<StructRef> { in unwrap_struct()
H A Danyref.rs130 pub fn as_struct(&self, _store: impl AsContext) -> Result<Option<StructRef>> { in as_struct()
134 pub(crate) fn _as_struct(&self, _store: &StoreOpaque) -> Result<Option<StructRef>> { in _as_struct()
138 pub fn unwrap_struct(&self, _store: impl AsContext) -> Result<StructRef> { in unwrap_struct()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/gc/enabled/
H A Dstructref.rs156 pub struct StructRef { struct
160 unsafe impl GcRefImpl for StructRef { argument
205 impl StructRef { impl
237 ) -> Result<Rooted<StructRef>> { in new()
278 ) -> Result<Rooted<StructRef>> { in new_async()
289 ) -> Result<Rooted<StructRef>> { in _new_async()
330 ) -> Result<Rooted<StructRef>> { in new_unchecked()
H A Deqref.rs370 pub fn as_struct(&self, store: impl AsContext) -> Result<Option<Rooted<StructRef>>> { in as_struct()
374 pub(crate) fn _as_struct(&self, store: &StoreOpaque) -> Result<Option<Rooted<StructRef>>> { in _as_struct()
393 pub fn unwrap_struct(&self, store: impl AsContext) -> Result<Rooted<StructRef>> { in unwrap_struct()
397 pub(crate) fn _unwrap_struct(&self, store: &StoreOpaque) -> Result<Rooted<StructRef>> { in _unwrap_struct()
H A Danyref.rs584 pub fn as_struct(&self, store: impl AsContext) -> Result<Option<Rooted<StructRef>>> { in as_struct()
588 pub(crate) fn _as_struct(&self, store: &StoreOpaque) -> Result<Option<Rooted<StructRef>>> { in _as_struct()
607 pub fn unwrap_struct(&self, store: impl AsContext) -> Result<Rooted<StructRef>> { in unwrap_struct()
611 pub(crate) fn _unwrap_struct(&self, store: &StoreOpaque) -> Result<Rooted<StructRef>> { in _unwrap_struct()
/wasmtime-44.0.1/crates/c-api/include/wasmtime/
H A Dgc.hh199 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
223 StructRef(StructRef &&other) { in StructRef() function in wasmtime::StructRef
/wasmtime-44.0.1/crates/c-api/tests/
H A Dgc.cc94 TEST(StructRef, CreateAndReadFields) { in TEST() argument
132 TEST(StructRef, UpcastAndDowncast) { in TEST() argument
/wasmtime-44.0.1/crates/environ/src/
H A Dgc.rs474 StructRef = 0b101100 << 26, enumerator