Function on_idle

Source
pub fn on_idle<F: FnMut() + 'static>(f: F)
Expand description

Sets the callback to be called when the display goes idle.