(&self, frame: &Frame, context: &mut HookContext<Frame>)
| 442 | } |
| 443 | |
| 444 | pub(crate) fn call(&self, frame: &Frame, context: &mut HookContext<Frame>) -> bool { |
| 445 | let mut hit = false; |
| 446 | |
| 447 | for (_, hook) in &self.inner { |
| 448 | hit = hook(frame, context) || hit; |
| 449 | } |
| 450 | |
| 451 | hit |
| 452 | } |
| 453 | } |
| 454 | |
| 455 | mod default { |
no test coverage detected