From e04add2421e98fb264dd70ff26643c9cefa9b8ad Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 8 Oct 2023 17:32:59 +0200 Subject: feat(glfw): add Debug derives --- glfw/src/init.rs | 1 + glfw/src/window.rs | 1 + 2 files changed, 2 insertions(+) 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 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, -- cgit v1.2.3-18-g5258