Returns an iterator over all of the defined function indices in this module.
(&self)
| 554 | /// Returns an iterator over all of the defined function indices in this |
| 555 | /// module. |
| 556 | pub fn defined_func_indices(&self) -> impl ExactSizeIterator<Item = DefinedFuncIndex> + use<> { |
| 557 | (0..self.functions.len() - self.num_imported_funcs).map(|i| DefinedFuncIndex::new(i)) |
| 558 | } |
| 559 | |
| 560 | /// Returns the number of functions defined by this module itself: all |
| 561 | /// functions minus imported functions. |
no test coverage detected