Trait wlc_with_elogind::event_loop::TimerCallback
[−]
[src]
pub trait TimerCallback: Sized { fn fire(&mut self); }
Implement this to react to timer events
An Implementation for FnMut
is provided, so you may use a (anonymous)
function instead
Required Methods
fn fire(&mut self)
called once for every call to update after the specified delay
Implementors
impl<F> TimerCallback for F where
F: FnMut(),