pub type OnPaintCallback = Arc<dyn Fn(TabId, PixelBuffer) + Send + Sync>;
Callback function type for paint events
pub struct OnPaintCallback { /* private fields */ }