core: Derive Clone and Copy in PlayerEvent (#9882)

This commit is contained in:
Jesse Talavera-Greenberg 2023-03-07 11:37:56 -05:00 committed by GitHub
parent b15463d3fd
commit 17688dd652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
use crate::display_object::InteractiveObject; use crate::display_object::InteractiveObject;
use swf::ClipEventFlag; use swf::ClipEventFlag;
#[derive(Debug)] #[derive(Debug, Clone, Copy)]
pub enum PlayerEvent { pub enum PlayerEvent {
KeyDown { KeyDown {
key_code: KeyCode, key_code: KeyCode,