From 2119bff3546cd87ffd3008e1c055b9ceb1fd02a4 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Fri, 6 Mar 2026 10:36:12 +0000 Subject: [PATCH] More derives on TIFF value structs --- src/encoder/tiff_value.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/encoder/tiff_value.rs b/src/encoder/tiff_value.rs index 38eeac3..800ab8b 100644 --- a/src/encoder/tiff_value.rs +++ b/src/encoder/tiff_value.rs @@ -665,22 +665,22 @@ impl_tiff_value_for_contiguous_sequence!(Rational; 8; Type::RATIONAL); impl_tiff_value_for_contiguous_sequence!(SRational; 8; Type::SRATIONAL); /// Type to represent tiff values of type `IFD` -#[derive(Clone)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub struct Ifd(pub u32); /// Type to represent tiff values of type `IFD8` -#[derive(Clone)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub struct Ifd8(pub u64); /// Type to represent tiff values of type `RATIONAL` -#[derive(Clone)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub struct Rational { pub n: u32, pub d: u32, } /// Type to represent tiff values of type `SRATIONAL` -#[derive(Clone)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub struct SRational { pub n: i32, pub d: i32,