iced/examples/stopwatch
Héctor Ramón Jiménez 76698ff2b5
Make Command implementations platform-specific
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.

Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
..
src Make Command implementations platform-specific 2021-09-02 13:29:34 +07:00
Cargo.toml Fix time::Every implementation for smol runtime 2021-01-15 18:52:12 +01:00
README.md Create README files for all the examples 2020-02-21 15:20:05 +01:00

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.

You can run it with cargo run:

cargo run --package stopwatch