(&self)
| 2562 | /// Returns the list of parameter types for this function. |
| 2563 | #[inline] |
| 2564 | pub fn params(&self) -> impl ExactSizeIterator<Item = ValType> + '_ { |
| 2565 | let engine = self.engine(); |
| 2566 | self.registered_type |
| 2567 | .unwrap_func() |
| 2568 | .params() |
| 2569 | .iter() |
| 2570 | .map(|ty| ValType::from_wasm_type(engine, ty)) |
| 2571 | } |
| 2572 | |
| 2573 | /// Get the `i`th result type. |
| 2574 | /// |
no test coverage detected