Verified Commit 51a1c2d6 authored by Alex Butler's avatar Alex Butler
Browse files

Revert some of "Add a bunch of useful derives."

parent 85fe6d38
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
use byteorder::{BigEndian as BE, ByteOrder}; use byteorder::{BigEndian as BE, ByteOrder};
use std::ops::Deref; use std::ops::Deref;
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)] #[derive(Copy, Clone, Debug)]
pub struct FontInfo<Data: Deref<Target = [u8]>> { pub struct FontInfo<Data: Deref<Target = [u8]>> {
data: Data, // pointer to .ttf file data: Data, // pointer to .ttf file
// fontstart: usize, // offset of start of font // fontstart: usize, // offset of start of font
...@@ -1215,7 +1215,7 @@ impl<Data: Deref<Target = [u8]>> FontInfo<Data> { ...@@ -1215,7 +1215,7 @@ impl<Data: Deref<Target = [u8]>> FontInfo<Data> {
} }
} }
#[derive(Clone, Copy, PartialEq, Eq, Hash, Debug)] #[derive(Clone, Copy, Debug)]
pub struct FontNameIter<'a, Data: Deref<Target = [u8]>> { pub struct FontNameIter<'a, Data: Deref<Target = [u8]>> {
/// Font info. /// Font info.
font_info: &'a FontInfo<Data>, font_info: &'a FontInfo<Data>,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment