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
|
/// The current "press" state of an element
|
||||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
pub enum ElementState {
|
pub enum ElementState {
|
||||||
Pressed,
|
Pressed,
|
||||||
Released,
|
Released,
|
||||||
|
Loading…
Reference in New Issue
Block a user