(&self)
| 2585 | /// Returns the list of result types for this function. |
| 2586 | #[inline] |
| 2587 | pub fn results(&self) -> impl ExactSizeIterator<Item = ValType> + '_ { |
| 2588 | let engine = self.engine(); |
| 2589 | self.registered_type |
| 2590 | .unwrap_func() |
| 2591 | .results() |
| 2592 | .iter() |
| 2593 | .map(|ty| ValType::from_wasm_type(engine, ty)) |
| 2594 | } |
| 2595 | |
| 2596 | /// Does this function type match the other function type? |
| 2597 | /// |
no test coverage detected