From d508ed26371edb3438ee4d1c6c9358713acd3bde Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 13 Apr 2023 06:29:24 +0200 Subject: Remove redundant comments in `MouseListener` fields --- native/src/widget/mouse_listener.rs | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'native') 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, - - /// Sets the message to emit on a left mouse button release. on_release: Option, - - /// Sets the message to emit on a right mouse button press. on_right_press: Option, - - /// Sets the message to emit on a right mouse button release. on_right_release: Option, - - /// Sets the message to emit on a middle mouse button press. on_middle_press: Option, - - /// Sets the message to emit on a middle mouse button release. on_middle_release: Option, - - /// Sets the message to emit when the mouse enters the widget. on_mouse_enter: Option, - - /// Sets the messsage to emit when the mouse exits the widget. on_mouse_exit: Option, } -- cgit