Retrieve a function by its index in the function store.
(&self, index: FuncIndex)
| 39 | |
| 40 | /// Retrieve a function by its index in the function store. |
| 41 | pub fn get_by_index(&self, index: FuncIndex) -> Option<&'a Function> { |
| 42 | self.functions.get(index).cloned() |
| 43 | } |
| 44 | |
| 45 | /// Retrieve a function by its name. |
| 46 | pub fn get_by_name(&self, name: &str) -> Option<&'a Function> { |
no test coverage detected