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