Remove equality from rational types; can be implemented later via cross-multiplication

This commit is contained in:
Sergey "Shnatsel" Davidoff committed 2026-03-06 10:54:37 +00:00
1 parent 2ca2427c75
commit b0bd33dbe4
1 file changed
+2 -2
+2 -2
View File
@@ -673,14 +673,14 @@ pub struct Ifd(pub u32);
pub struct Ifd8(pub u64);
/// Type to represent tiff values of type `RATIONAL`
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[derive(Debug, Copy, Clone)]
pub struct Rational {
pub n: u32,
pub d: u32,
}
/// Type to represent tiff values of type `SRATIONAL`
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[derive(Debug, Copy, Clone)]
pub struct SRational {
pub n: i32,
pub d: i32,