From a0df8d2bfc5cfe87383d19cbb0c3d9d373eb7759 Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Mon, 24 Apr 2023 13:50:01 +0100 Subject: [PATCH] Implement Debug for Texture and TextureBuilder --- src/render/texture.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/render/texture.rs b/src/render/texture.rs index a5416b1..123e8d6 100644 --- a/src/render/texture.rs +++ b/src/render/texture.rs @@ -35,6 +35,7 @@ impl Default for TextureAttributes { } } +#[derive(Debug)] pub struct TextureBuilder { pub attributes: TextureAttributes, } @@ -102,6 +103,7 @@ impl TextureBuilder { } } +#[derive(Debug)] pub struct Texture { pub attributes: TextureAttributes, pub texture: wgpu::Texture,