16 lines
328 B
Markdown
16 lines
328 B
Markdown
## 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">
|
|
<img src="https://iced.rs/examples/stopwatch.gif">
|
|
</div>
|
|
|
|
You can run it with `cargo run`:
|
|
```
|
|
cargo run --package stopwatch
|
|
```
|
|
|
|
[`main`]: src/main.rs
|