2 releases
0.1.1 | Dec 27, 2023 |
---|---|
0.1.0 | Apr 17, 2022 |
#282 in Date and time
15KB
114 lines
tap_tempo
Calculate tempos by simply tapping
let mut tap_tempo = TapTempo::new();
let tempo = tap_tempo.tap();
assert!(tempo.is_none());
// After some time has passed ...
let tempo = tap_tempo.tap();
assert!(tempo.is_some());
Dependencies
~1MB
~18K SLoC