popover: State can be printed

This commit is contained in:
Dorota Czaplejewicz
2022-12-08 09:36:45 +00:00
parent c590064ce3
commit 7130ac9529

View File

@ -27,6 +27,7 @@ pub mod c {
pub type Destination = Arc<Mutex<State>>; pub type Destination = Arc<Mutex<State>>;
#[derive(Debug)]
pub enum Event { pub enum Event {
Overlay(Option<String>), Overlay(Option<String>),
ScreensaverActive(bool), ScreensaverActive(bool),
@ -50,7 +51,7 @@ impl super::Destination for Destination {
} }
} }
#[derive(Clone)] #[derive(Clone, Debug)]
pub struct State { pub struct State {
pub overlay: Option<String>, pub overlay: Option<String>,
/// Settings button active /// Settings button active