pub fn calculate<T: TotalPlaytime>(source: T) -> TimeSpan
Expand description

Calculates the total playtime. The source can be a Run, Timer or any other type that implements the TotalPlaytime trait.