pub struct SoftwareGlyphAtlasKey {
pub font_hash: u64,
pub glyph_id: u32,
pub scale_x_bits: u32,
pub scale_y_bits: u32,
pub embolden_px_bits: u32,
pub slant_bits: u32,
}Fields§
§font_hash: u64§glyph_id: u32§scale_x_bits: u32§scale_y_bits: u32§embolden_px_bits: u32§slant_bits: u32Trait Implementations§
Source§impl Clone for SoftwareGlyphAtlasKey
impl Clone for SoftwareGlyphAtlasKey
Source§fn clone(&self) -> SoftwareGlyphAtlasKey
fn clone(&self) -> SoftwareGlyphAtlasKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SoftwareGlyphAtlasKey
Source§impl Debug for SoftwareGlyphAtlasKey
impl Debug for SoftwareGlyphAtlasKey
impl Eq for SoftwareGlyphAtlasKey
Source§impl Hash for SoftwareGlyphAtlasKey
impl Hash for SoftwareGlyphAtlasKey
Source§impl PartialEq for SoftwareGlyphAtlasKey
impl PartialEq for SoftwareGlyphAtlasKey
Source§fn eq(&self, other: &SoftwareGlyphAtlasKey) -> bool
fn eq(&self, other: &SoftwareGlyphAtlasKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SoftwareGlyphAtlasKey
Auto Trait Implementations§
impl Freeze for SoftwareGlyphAtlasKey
impl RefUnwindSafe for SoftwareGlyphAtlasKey
impl Send for SoftwareGlyphAtlasKey
impl Sync for SoftwareGlyphAtlasKey
impl Unpin for SoftwareGlyphAtlasKey
impl UnsafeUnpin for SoftwareGlyphAtlasKey
impl UnwindSafe for SoftwareGlyphAtlasKey
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