Lines Matching refs:EventInfo
17 pub(crate) struct EventInfo { struct
22 impl Default for EventInfo { argument
36 fn event_info(&self, id: EventId) -> Option<&EventInfo>; in event_info() argument
41 F: FnMut(&'a EventInfo); in for_each() argument
44 impl Storage for Vec<EventInfo> {
45 fn event_info(&self, id: EventId) -> Option<&EventInfo> { in event_info() argument
51 F: FnMut(&'a EventInfo), in for_each() argument
183 EventInfo::default(), in smoke()
184 EventInfo::default(), in smoke()
185 EventInfo::default(), in smoke()
227 let registry = Registry::new(vec![EventInfo::default()]); in register_panics_on_invalid_input()
234 let registry = Registry::new(vec![EventInfo::default()]); in record_invalid_event_does_nothing()
240 let registry = Registry::new(vec![EventInfo::default(), EventInfo::default()]); in broadcast_returns_if_at_least_one_event_fired()