Function rotor_tools::timer::interval_func [] [src]

pub fn interval_func<C, F>(scope: &mut Scope<C>, interval: Duration, fun: F) -> IntervalFunc<C> where F: FnMut(&mut Scope<C>) + 'static

A helper function to create intervals from closures