Implement Copy for ElementState (#1154)

This commit is contained in:
W. Brian Gourlie 2020-12-28 15:24:31 -06:00 committed by GitHub
parent 3cb2e22e89
commit b94f266183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,