From b0cf47cc2b736080d25a6fe48d17ef5086d6a39a Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 21 Feb 2020 15:12:27 +0100 Subject: Create `README` files for all the examples --- examples/clock/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/clock/README.md (limited to 'examples/clock/README.md') diff --git a/examples/clock/README.md b/examples/clock/README.md new file mode 100644 index 00000000..17509180 --- /dev/null +++ b/examples/clock/README.md @@ -0,0 +1,16 @@ +## Clock + +An application that uses the `Canvas` widget to draw a clock and its hands to display the current time. + +The __[`main`]__ file contains all the code of the example. + +
+ +
+ +You can run it with `cargo run`: +``` +cargo run --package clock +``` + +[`main`]: src/main.rs -- cgit