calc_progress

Function calc_progress 

Source
pub fn calc_progress(elapsed: Duration, total_duration: Duration) -> f64
Expand description

Calculate progress from elapsed time and duration