| 2 | |
| 3 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] |
| 4 | pub enum MouseButton { |
| 5 | Left, |
| 6 | Middle, |
| 7 | Right, |
| 8 | X1, |
| 9 | X2, |
| 10 | } |
| 11 | |
| 12 | impl MouseButton { |
| 13 | pub(crate) fn from_raw(raw: i32) -> Option<MouseButton> { |
nothing calls this directly
no outgoing calls
no test coverage detected