| 141 | |
| 142 | #[derive(PartialEq, Eq)] |
| 143 | pub(crate) struct FontCacheKey { |
| 144 | pub(crate) typeface_id: u64, |
| 145 | pub(crate) typeface_index: u32, |
| 146 | pub(crate) normalized_coords: Vec<i16>, |
| 147 | pub(crate) font_size: u32, |
| 148 | pub(crate) hint: bool, |
| 149 | } |
| 150 | |
| 151 | impl Hash for FontCacheKey { |
| 152 | fn hash<H: Hasher>(&self, state: &mut H) { |
nothing calls this directly
no outgoing calls
no test coverage detected