Trait pied_piper::stats::Clock [−][src]
Expand description
The Clock trait adds a .as_clock()
method to u64
Example
Here is an example of how to use it.
use pied_piper::stats::Clock; assert_eq!(65_u64.as_clock(), String::from("0:01:05"))