Skip to content

Commit b94f266

Browse files
authored
Implement Copy for ElementState (#1154)
1 parent 3cb2e22 commit b94f266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_input/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ impl Plugin for InputPlugin {
6565
}
6666

6767
/// The current "press" state of an element
68-
#[derive(Debug, Clone, Eq, PartialEq)]
68+
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
6969
pub enum ElementState {
7070
Pressed,
7171
Released,

0 commit comments

Comments
 (0)