(&self)
| 236 | impl wasmtime_func_t { |
| 237 | #[cfg(feature = "gc")] |
| 238 | unsafe fn as_wasmtime(&self) -> Option<Func> { |
| 239 | if self.store_id == 0 { |
| 240 | None |
| 241 | } else { |
| 242 | Some(self.func) |
| 243 | } |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | impl From<Option<Func>> for wasmtime_func_t { |
no outgoing calls
no test coverage detected