pub trait ParseCallback<'src> {
// Required method
fn event(&mut self, event: Event<'src>) -> bool;
}Expand description
Trait for receiving parse events.
Required Methods§
Implementations on Foreign Types§
Source§impl<'src> ParseCallback<'src> for Vec<Event<'src>>
Convenience implementation: collect all events into a Vec.
impl<'src> ParseCallback<'src> for Vec<Event<'src>>
Convenience implementation: collect all events into a Vec.