summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-30 04:54:49 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-30 04:54:49 +0200
commitd8b9e03481301228ffeda4c6e48a021cb66f896c (patch)
treeb181874fe742ab9c7652a497ea4a38b23bed6e63 /core
parente55cd9652e7c7aea4dc2c6ccb83769246d1a808e (diff)
downloadiced-d8b9e03481301228ffeda4c6e48a021cb66f896c.tar.gz
iced-d8b9e03481301228ffeda4c6e48a021cb66f896c.tar.bz2
iced-d8b9e03481301228ffeda4c6e48a021cb66f896c.zip
Remove `ButtonState`
Diffstat (limited to 'core')
-rw-r--r--core/src/button_state.rs9
-rw-r--r--core/src/lib.rs2
2 files changed, 0 insertions, 11 deletions
diff --git a/core/src/button_state.rs b/core/src/button_state.rs
deleted file mode 100644
index 988043ba..00000000
--- a/core/src/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,
-}
diff --git a/core/src/lib.rs b/core/src/lib.rs
index f0072f61..ec1e185a 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -19,7 +19,6 @@ pub mod mouse;
mod align;
mod background;
-mod button_state;
mod color;
mod font;
mod length;
@@ -31,7 +30,6 @@ mod vector;
pub use align::{Align, HorizontalAlignment, VerticalAlignment};
pub use background::Background;
-pub use button_state::ButtonState;
pub use color::Color;
pub use font::Font;
pub use length::Length;