diff options
author | HampusM <hampus@hampusmat.com> | 2023-10-08 17:32:59 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-10-08 17:32:59 +0200 |
commit | e04add2421e98fb264dd70ff26643c9cefa9b8ad (patch) | |
tree | 9fa765b1ccba3897022d1080e24ace559fd2ac73 /glfw | |
parent | be2b986a8466783f40b8627bbe6a3debbe147964 (diff) |
feat(glfw): add Debug derives
Diffstat (limited to 'glfw')
-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, |