pub struct GlyphCacheKey {
pub font_face_id: FontFaceId,
pub glyph_id: u16,
pub size_bits: u32,
}Fields§
§font_face_id: FontFaceId§glyph_id: u16§size_bits: u32Implementations§
Source§impl GlyphCacheKey
impl GlyphCacheKey
pub fn new(font_face_id: FontFaceId, glyph_id: u16, size_px: f32) -> Self
Trait Implementations§
Source§impl Clone for GlyphCacheKey
impl Clone for GlyphCacheKey
Source§fn clone(&self) -> GlyphCacheKey
fn clone(&self) -> GlyphCacheKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for GlyphCacheKey
impl Hash for GlyphCacheKey
Source§impl PartialEq for GlyphCacheKey
impl PartialEq for GlyphCacheKey
impl Copy for GlyphCacheKey
impl Eq for GlyphCacheKey
impl StructuralPartialEq for GlyphCacheKey
Auto Trait Implementations§
impl Freeze for GlyphCacheKey
impl RefUnwindSafe for GlyphCacheKey
impl Send for GlyphCacheKey
impl Sync for GlyphCacheKey
impl Unpin for GlyphCacheKey
impl UnsafeUnpin for GlyphCacheKey
impl UnwindSafe for GlyphCacheKey
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