Function qmetaobject::single_shot[][src]

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

Call the callback once, after a given duration.