(&self, id: &str)
| 17 | } |
| 18 | |
| 19 | pub fn get_level(&self, id: &str) -> Option<&Level> { |
| 20 | self.levels.iter().find(|l| l.identifier == id) |
| 21 | } |
| 22 | |
| 23 | pub fn get_level_by_iid(&self, id: &str) -> Option<&Level> { |
| 24 | self.levels.iter().find(|l| l.iid == id) |
nothing calls this directly
no outgoing calls
no test coverage detected