(&mut self, func: &str)
| 200 | } |
| 201 | |
| 202 | pub fn get_function_cov_mut(&mut self, func: &str) -> Option<&mut CovFunction> { |
| 203 | self.data[0] |
| 204 | .functions |
| 205 | .iter_mut() |
| 206 | .find(|func_cov| func_cov.get_name() == func) |
| 207 | } |
| 208 | |
| 209 | pub fn iter_function_covs(&self) -> core::slice::Iter<'_, CovFunction> { |
| 210 | let iter = self.data[0].functions.iter(); |
no test coverage detected