3 releases

0.2.2 Oct 23, 2021
0.2.1 Oct 23, 2021
0.2.0 Oct 21, 2021
0.1.0 May 17, 2021
0.0.3 May 28, 2021

#11 in #pause

MIT/Apache

1MB
94 lines

Contains (WOFF font, 190KB) doc/FiraSans-Medium.woff, (WOFF font, 135KB) doc/FiraSans-Medium.woff2, (WOFF font, 185KB) doc/FiraSans-Regular.woff, (WOFF font, 130KB) doc/FiraSans-Regular.woff2, (WOFF font, 69KB) doc/SourceCodePro-Regular.ttf.woff, (WOFF font, 69KB) doc/SourceCodePro-Semibold.ttf.woff and 4 more.

PlayHead

PlayHead is a very simple and small counter utility with play , pause and stop function. At any give time the lapsed time can be obtained from time function.

  • The main purpose of making this module is for educational purposes. I will maintain this completely but without adding any more functionalities.
  • It has no dependencies.
  • The lapsed time is returned in milli seconds.

Usage

Please see the documentation for further details but in brief:

To create a new Timer

the name of the timer is called play head

let playhead = PlayHead::new();


To Start

playhead.start();


To Stop

playhead.stop();


To Pause

playhead.pause();


To check the lapsed Time

playhead.time();

No runtime deps