[][src]Function qmetaobject::single_shot

pub fn single_shot<F>(interval: Duration, func: F) where
    F: FnMut() + 'static, 

Call the callback once, after a given duration.