1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/// The button of a mouse. #[derive(Debug, Hash, PartialEq, Eq, Clone, Copy)] pub enum Button { /// The left mouse button. Left, /// The right mouse button. Right, /// The middle (wheel) button. Middle, /// Some other button. Other(u8), }