Unwrap a `FuncKey::DefinedWasmFunction` or else panic.
(self)
| 513 | |
| 514 | /// Unwrap a `FuncKey::DefinedWasmFunction` or else panic. |
| 515 | pub fn unwrap_defined_wasm_function(self) -> (StaticModuleIndex, DefinedFuncIndex) { |
| 516 | match self { |
| 517 | Self::DefinedWasmFunction(module, def_func) => (module, def_func), |
| 518 | _ => panic!("`FuncKey::unwrap_defined_wasm_function` called on {self:?}"), |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | /// Unwrap a `FuncKey::ArrayToWasmTrampoline` or else panic. |
| 523 | pub fn unwrap_array_to_wasm_trampoline(self) -> (StaticModuleIndex, DefinedFuncIndex) { |
no outgoing calls
no test coverage detected