From 29a9f638ddd55bbdd880ff723b5424fd4d45ec50 Mon Sep 17 00:00:00 2001 From: yuhuihuang Date: Thu, 26 Dec 2024 15:21:38 +0800 Subject: [PATCH] feat: PropertyMeta +PartialEq --- float-pigment-css/src/sheet/rule.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/float-pigment-css/src/sheet/rule.rs b/float-pigment-css/src/sheet/rule.rs index 2b48339..d02d02e 100644 --- a/float-pigment-css/src/sheet/rule.rs +++ b/float-pigment-css/src/sheet/rule.rs @@ -5,7 +5,7 @@ use super::*; use crate::property::Property; /// A CSS property with some metadata. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, PartialEq)] pub enum PropertyMeta { /// A single normal property, e.g. `font-size: 16px`. Normal {