iced_core/mouse/button.rs
1/// The button of a mouse.
2#[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)]
3pub enum Button {
4 /// The left mouse button.
5 Left,
6
7 /// The right mouse button.
8 Right,
9
10 /// The middle (wheel) button.
11 Middle,
12
13 /// The back mouse button.
14 Back,
15
16 /// The forward mouse button.
17 Forward,
18
19 /// Some other button.
20 Other(u16),
21}