From 54db866c68631e1a289890e6cb56ce32950b20e9 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Mon, 13 Mar 2023 13:01:35 +0100 Subject: [PATCH] derive clone and copy --- plugins/window-state/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/window-state/src/lib.rs b/plugins/window-state/src/lib.rs index a4db0822..6eaebd7f 100644 --- a/plugins/window-state/src/lib.rs +++ b/plugins/window-state/src/lib.rs @@ -34,6 +34,7 @@ pub enum Error { pub type Result = std::result::Result; bitflags! { + #[derive(Clone, Copy)] pub struct StateFlags: u32 { const SIZE = 1 << 0; const POSITION = 1 << 1;