popover: State can be printed
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user