pub struct GlyphKey {
pub font: u64,
pub size: u32,
pub glyph: u32,
pub phase: u8,
}Expand description
glyph identity for renderer pixel caches
Fields§
§font: u64§size: u32§glyph: u32§phase: u8Trait Implementations§
impl Copy for GlyphKey
impl Eq for GlyphKey
impl StructuralPartialEq for GlyphKey
Auto Trait Implementations§
impl Forget for GlyphKey
impl Freeze for GlyphKey
impl Move for GlyphKey
impl RefUnwindSafe for GlyphKey
impl Send for GlyphKey
impl Sync for GlyphKey
impl Unpin for GlyphKey
impl UnsafeUnpin for GlyphKey
impl UnwindSafe for GlyphKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Compare for T
impl<T> Compare for T
fn equal(a: &T, _: &DisplayList, b: &T, _: &DisplayList) -> bool
fn hash(input: &T, _: &DisplayList, state: &mut impl Hasher)
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.