summaryrefslogtreecommitdiff
path: root/glfw
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-10-25 22:05:58 +0200
committerHampusM <hampus@hampusmat.com>2023-10-25 22:05:58 +0200
commita1ab78e904b52b025ed81bbc899188094308ff24 (patch)
tree6eed06c587ffb6bae6af513496786bec199890b8 /glfw
parentc4a427f73256f0ce4f067dcf2f970936d01bfdc6 (diff)
feat(glfw): make Size derive Debug, Clone, PartialEq & Eq
Diffstat (limited to 'glfw')
-rw-r--r--glfw/src/window.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/glfw/src/window.rs b/glfw/src/window.rs
index a492c20..1f3834e 100644
--- a/glfw/src/window.rs
+++ b/glfw/src/window.rs
@@ -246,6 +246,7 @@ impl Hint
}
/// Window size.
+#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Size
{
pub width: u32,