Derive Copy for MouseButton

This commit is contained in:
Hanno Braun 2024-11-18 20:23:02 +01:00
parent a642e46ee8
commit 5549e9ac24

View File

@ -5,7 +5,7 @@ mod event;
pub use self::event::InputEvent;
/// # Any mouse button that is relevant to the operation of this crate
#[derive(Eq, PartialEq)]
#[derive(Clone, Copy, Eq, PartialEq)]
pub enum MouseButton {
/// # The left mouse button
Left,