ROADMAP v0.5.0 - Function registry introspection (see ROADMAP.md §8)
(&self)
| 283 | /// List all functions with their metadata |
| 284 | #[allow(dead_code)] // ROADMAP v0.5.0 - Function registry introspection (see ROADMAP.md §8) |
| 285 | pub fn list_functions(&self) -> impl Iterator<Item = (String, &Box<dyn Function>)> { |
| 286 | self.functions |
| 287 | .iter() |
| 288 | .map(|(name, func)| (name.clone(), func)) |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | impl Default for FunctionRegistry { |