summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-13 06:29:24 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-04-13 06:29:24 +0200
commitd508ed26371edb3438ee4d1c6c9358713acd3bde (patch)
tree7a028fdaf92315f165691f69477265be87a576c8 /native
parent28b0f7abf46ba6f6250e883104a6100e3e647172 (diff)
downloadiced-d508ed26371edb3438ee4d1c6c9358713acd3bde.tar.gz
iced-d508ed26371edb3438ee4d1c6c9358713acd3bde.tar.bz2
iced-d508ed26371edb3438ee4d1c6c9358713acd3bde.zip
Remove redundant comments in `MouseListener` fields
Diffstat (limited to '')
-rw-r--r--native/src/widget/mouse_listener.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/native/src/widget/mouse_listener.rs b/native/src/widget/mouse_listener.rs
index c4e91cba..0ac7f826 100644
--- a/native/src/widget/mouse_listener.rs
+++ b/native/src/widget/mouse_listener.rs
@@ -15,29 +15,13 @@ use crate::{
#[allow(missing_debug_implementations)]
pub struct MouseListener<'a, Message, Renderer> {
content: Element<'a, Message, Renderer>,
-
- /// Sets the message to emit on a left mouse button press.
on_press: Option<Message>,
-
- /// Sets the message to emit on a left mouse button release.
on_release: Option<Message>,
-
- /// Sets the message to emit on a right mouse button press.
on_right_press: Option<Message>,
-
- /// Sets the message to emit on a right mouse button release.
on_right_release: Option<Message>,
-
- /// Sets the message to emit on a middle mouse button press.
on_middle_press: Option<Message>,
-
- /// Sets the message to emit on a middle mouse button release.
on_middle_release: Option<Message>,
-
- /// Sets the message to emit when the mouse enters the widget.
on_mouse_enter: Option<Message>,
-
- /// Sets the messsage to emit when the mouse exits the widget.
on_mouse_exit: Option<Message>,
}