[][src]Function livesplit_core::analysis::total_playtime::calculate

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

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