Function qmetaobject::single_shot [−][src]
pub fn single_shot<F>(interval: Duration, func: F) where
F: FnMut() + 'static,
Call the callback once, after a given duration.
pub fn single_shot<F>(interval: Duration, func: F) where
F: FnMut() + 'static,
Call the callback once, after a given duration.