MCPcopy Create free account
hub / github.com/DioxusLabs/anyrender / FontCacheKey

Class FontCacheKey

crates/anyrender_skia/src/cache.rs:143–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142#[derive(PartialEq, Eq)]
143pub(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
151impl Hash for FontCacheKey {
152 fn hash<H: Hasher>(&self, state: &mut H) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected