From 802fc539b768a5d84c6ae093e669ce9ac3746fd9 Mon Sep 17 00:00:00 2001 From: Laurenz Stampfl Date: Mon, 18 Nov 2024 14:34:24 +0100 Subject: [PATCH] Add Hash and Eq to IntSize --- path/src/size.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/path/src/size.rs b/path/src/size.rs index a5f61e5..b06d6ff 100644 --- a/path/src/size.rs +++ b/path/src/size.rs @@ -15,7 +15,7 @@ use crate::NoStdFloat; /// # Guarantees /// /// - Width and height are positive and non-zero. -#[derive(Copy, Clone, PartialEq, Debug)] +#[derive(Copy, Clone, PartialEq, Debug, Hash, Eq)] pub struct IntSize { width: LengthU32, height: LengthU32,