From 7130ac95293dad4572246eca1f168cc45d75091c Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Thu, 8 Dec 2022 09:36:45 +0000 Subject: [PATCH] popover: State can be printed --- src/actors/popover.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/actors/popover.rs b/src/actors/popover.rs index fc28709f..c2a3caa2 100644 --- a/src/actors/popover.rs +++ b/src/actors/popover.rs @@ -27,6 +27,7 @@ pub mod c { pub type Destination = Arc>; +#[derive(Debug)] pub enum Event { Overlay(Option), ScreensaverActive(bool), @@ -50,7 +51,7 @@ impl super::Destination for Destination { } } -#[derive(Clone)] +#[derive(Clone, Debug)] pub struct State { pub overlay: Option, /// Settings button active