pub struct CacheKey {
pub font_id: u64,
pub glyph_id: u16,
pub font_size_bits: u32,
}Expand description
Cache key for the renderer’s glyph slug cache -> uniquely identifies a specific glyph in a specific font face.
Fields§
§font_id: u64§glyph_id: u16§font_size_bits: u32Trait Implementations§
impl Copy for CacheKey
impl Eq for CacheKey
impl StructuralPartialEq for CacheKey
Auto Trait Implementations§
impl Freeze for CacheKey
impl RefUnwindSafe for CacheKey
impl Send for CacheKey
impl Sync for CacheKey
impl Unpin for CacheKey
impl UnsafeUnpin for CacheKey
impl UnwindSafe for CacheKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more