Returns the underlying wasm type that this `Func` has. # Panics Panics if `store` does not own this function.
(&self, store: impl AsContext)
| 870 | /// |
| 871 | /// Panics if `store` does not own this function. |
| 872 | pub fn ty(&self, store: impl AsContext) -> FuncType { |
| 873 | self.load_ty(&store.as_context().0) |
| 874 | } |
| 875 | |
| 876 | /// Forcibly loads the type of this function from the `Engine`. |
| 877 | /// |
no test coverage detected