summaryrefslogtreecommitdiffstats
path: root/native/src/input/button_state.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-28 03:11:01 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-28 03:11:01 +0200
commit56dbd683269b82da16d8eae3f98f352301750bf5 (patch)
tree50d986a0c10f6bdab915b9ae3b53e170dd5497bf /native/src/input/button_state.rs
parent20d79a43cce5a1bf0cb48a7668ac90d0ac82dfdc (diff)
downloadiced-56dbd683269b82da16d8eae3f98f352301750bf5.tar.gz
iced-56dbd683269b82da16d8eae3f98f352301750bf5.tar.bz2
iced-56dbd683269b82da16d8eae3f98f352301750bf5.zip
Move reusable `mouse` types to `iced_core`
Diffstat (limited to 'native/src/input/button_state.rs')
-rw-r--r--native/src/input/button_state.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/native/src/input/button_state.rs b/native/src/input/button_state.rs
deleted file mode 100644
index 988043ba..00000000
--- a/native/src/input/button_state.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-/// The state of a button.
-#[derive(Debug, Hash, Ord, PartialOrd, PartialEq, Eq, Clone, Copy)]
-pub enum ButtonState {
- /// The button is pressed.
- Pressed,
-
- /// The button is __not__ pressed.
- Released,
-}