diff options
Diffstat (limited to '')
-rw-r--r-- | src/input/button_state.rs | 5 |
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. |