summaryrefslogtreecommitdiffstats
path: root/src/input/button_state.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-05 09:59:38 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-05 09:59:38 +0200
commitc48739029b36e4380409cdb15594e415afce6371 (patch)
tree129d2834819570a75db5f970daa6e1ee5c1587e4 /src/input/button_state.rs
parent3fb06f66661b5f4f0a76553164597f7ce0cbd79c (diff)
downloadiced-c48739029b36e4380409cdb15594e415afce6371.tar.gz
iced-c48739029b36e4380409cdb15594e415afce6371.tar.bz2
iced-c48739029b36e4380409cdb15594e415afce6371.zip
Ask users to share use cases
Diffstat (limited to '')
-rw-r--r--src/input/button_state.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input/button_state.rs b/src/input/button_state.rs
index 3a3472fb..e9dc05d7 100644
--- a/src/input/button_state.rs
+++ b/src/input/button_state.rs
@@ -1,4 +1,9 @@
/// The state of a button.
+///
+/// If you are using [`winit`], consider enabling the `winit` feature to get
+/// conversion implementations for free!
+///
+/// [`winit`]: https://docs.rs/winit/0.20.0-alpha3/winit/
#[derive(Debug, Hash, Ord, PartialOrd, PartialEq, Eq, Clone, Copy)]
pub enum ButtonState {
/// The button is pressed.