Function qmetaobject::single_shot
source · pub fn single_shot<F>(interval: Duration, func: F)where
F: FnMut() + 'static,
Expand description
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.