diff --git a/nih_plug_egui/src/lib.rs b/nih_plug_egui/src/lib.rs index 3938a6c7..6d27290e 100644 --- a/nih_plug_egui/src/lib.rs +++ b/nih_plug_egui/src/lib.rs @@ -61,7 +61,7 @@ where } /// State for an `nih_plug_egui` editor. -#[derive(Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize)] pub struct EguiState { /// The window's size in logical pixels before applying `scale_factor`. #[serde(with = "nih_plug::params::persist::serialize_atomic_cell")] diff --git a/nih_plug_iced/src/lib.rs b/nih_plug_iced/src/lib.rs index 2b373664..e629d4f2 100644 --- a/nih_plug_iced/src/lib.rs +++ b/nih_plug_iced/src/lib.rs @@ -233,7 +233,7 @@ pub trait IcedEditor: 'static + Send + Sync + Sized { } /// State for an `nih_plug_iced` editor. -#[derive(Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize)] pub struct IcedState { /// The window's size in logical pixels before applying `scale_factor`. #[serde(with = "nih_plug::params::persist::serialize_atomic_cell")] diff --git a/nih_plug_vizia/src/lib.rs b/nih_plug_vizia/src/lib.rs index 6dd94bcf..28729668 100644 --- a/nih_plug_vizia/src/lib.rs +++ b/nih_plug_vizia/src/lib.rs @@ -83,7 +83,7 @@ pub enum ViziaTheming { /// State for an `nih_plug_vizia` editor. The scale factor can be manipulated at runtime by changing /// `cx.user_scale_factor`. -#[derive(Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize)] pub struct ViziaState { /// The window's size in logical pixels before applying `scale_factor`. #[serde(with = "nih_plug::params::persist::serialize_atomic_cell")]