Implement Copy for ElementState (#1154)
This commit is contained in:
parent
3cb2e22e89
commit
b94f266183
@ -65,7 +65,7 @@ impl Plugin for InputPlugin {
|
||||
}
|
||||
|
||||
/// The current "press" state of an element
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||
pub enum ElementState {
|
||||
Pressed,
|
||||
Released,
|
||||
|
Loading…
Reference in New Issue
Block a user