pub trait RenderObserver {
// Required method
fn on_event(&mut self, byte_offset: u64, event: &Event<'_>);
}Expand description
Observer invoked on every event the render state machine processes.
Implementations typically accumulate a side-table mapping output byte
offsets to structural events. The default NoopObserver discards
every call and compiles away under the optimiser.