pub fn duration_to_secs(duration: &Duration) -> f64
Expand description

Returns the number of seconds of duration.