diff options
-rw-r--r-- | glfw/src/init.rs | 1 | ||||
-rw-r--r-- | glfw/src/window.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/glfw/src/init.rs b/glfw/src/init.rs index d102db6..b42bb52 100644 --- a/glfw/src/init.rs +++ b/glfw/src/init.rs @@ -24,6 +24,7 @@ pub fn initialize() -> Result<Glfw, Error> } /// GLFW initialization token. +#[derive(Debug)] pub struct Glfw { /// This field has two purposes diff --git a/glfw/src/window.rs b/glfw/src/window.rs index a080161..fa5dcd7 100644 --- a/glfw/src/window.rs +++ b/glfw/src/window.rs @@ -6,6 +6,7 @@ use std::ptr::null_mut; use crate::init::{initialize, Glfw}; use crate::{get_glfw_error, Error}; +#[derive(Debug)] pub struct Window { _init: Glfw, |