[librsvg: 24/26] Derive some traits for IntrinsicDimensions



commit f851613172fe6227f72d4fd88aa379bd5a76d3f9
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Feb 18 20:08:38 2019 -0600

    Derive some traits for IntrinsicDimensions

 rsvg_internals/src/structure.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/structure.rs b/rsvg_internals/src/structure.rs
index 3fca65c9..39995aa2 100644
--- a/rsvg_internals/src/structure.rs
+++ b/rsvg_internals/src/structure.rs
@@ -99,7 +99,7 @@ impl NodeTrait for NodeSwitch {
 }
 
 /// Intrinsic dimensions of an SVG document fragment
-#[derive(Copy, Clone)]
+#[derive(Debug, Copy, Clone, PartialEq)]
 pub struct IntrinsicDimensions {
     pub width: Option<LengthHorizontal>,
     pub height: Option<LengthVertical>,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]