Notifier

Trait Notifier 

Source
pub trait Notifier:
    Send
    + Sync
    + 'static {
    // Required methods
    fn request_redraw(&self);
    fn invalidate_layout(&self);
}
Expand description

A type that can notify a shell of certain events.

Required Methods§

Source

fn request_redraw(&self)

Requests for all windows of the Shell to be redrawn.

Source

fn invalidate_layout(&self)

Requests for all layouts of the Shell to be recomputed.

Implementors§