diff options
Diffstat (limited to 'font/src/lib.rs')
-rw-r--r-- | font/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/lib.rs b/font/src/lib.rs index ad1f4f80..330ed362 100644 --- a/font/src/lib.rs +++ b/font/src/lib.rs @@ -166,7 +166,7 @@ impl Hash for GlyphKey { } /// Font size stored as integer -#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)] +#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord)] pub struct Size(i16); impl Size { |