blob: 4cf4582ed0ddbee315d631d9cda21f9d1d23980a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
## Stopwatch
A watch with start/stop and reset buttons showcasing how to listen to time.
The __[`main`]__ file contains all the code of the example.
<div align="center">
<a href="https://gfycat.com/granularenviousgoitered-rust-gui">
<img src="https://thumbs.gfycat.com/GranularEnviousGoitered-small.gif">
</a>
</div>
You can run it with `cargo run`:
```
cargo run --package stopwatch
```
[`main`]: src/main.rs
|