()
| 662 | } |
| 663 | |
| 664 | pub fn with_builtin_programs() -> Self { |
| 665 | let mut catalog = Self::new(); |
| 666 | for template in builtin_program_templates() { |
| 667 | catalog.register(template); |
| 668 | } |
| 669 | catalog |
| 670 | } |
| 671 | |
| 672 | pub fn register(&mut self, template: ProgramTemplate) { |
| 673 | self.insert(template); |
nothing calls this directly
no test coverage detected