azul_webrender_api

Trait NotificationHandler

Source
pub trait NotificationHandler: Send + Sync {
    // Required method
    fn notify(&self, when: Checkpoint);
}
Expand description

A handler to notify when a transaction reaches certain stages of the rendering pipeline.

Required Methods§

Source

fn notify(&self, when: Checkpoint)

Entry point of the handler to implement. Invoked by WebRender.

Implementors§