pub trait SpannedEventReceiver {
// Required method
fn on_event(&mut self, ev: Event, span: Span);
}
Expand description
Trait to be implemented for using the low-level parsing API.
Functionally similar to EventReceiver
, but receives a Span
as well as the event.