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,