pub struct FallbackFace {
pub font_id: FontId,
pub family_name: String,
pub postscript_name: String,
pub units_per_em: u16,
pub is_color_emoji: bool,
}Expand description
Fallback font identity metadata retained from a native system platform pass.
Plan §13.7: “A native glyph ID has meaning only with the actual fallback font/run that produced it. The native adapter retains or converts that font identity…”
Fields§
§font_id: FontIdUnique deterministic identifier for the fallback font.
family_name: StringFont family name (e.g. "PingFang SC", "Apple Color Emoji").
postscript_name: StringPostScript name of the font face.
units_per_em: u16Font design units per em.
is_color_emoji: boolWhether this face is a color emoji or bitmap font.
Trait Implementations§
Source§impl Clone for FallbackFace
impl Clone for FallbackFace
Source§impl Debug for FallbackFace
impl Debug for FallbackFace
impl Eq for FallbackFace
Source§impl Hash for FallbackFace
impl Hash for FallbackFace
Source§impl PartialEq for FallbackFace
impl PartialEq for FallbackFace
impl StructuralPartialEq for FallbackFace
Auto Trait Implementations§
impl Freeze for FallbackFace
impl RefUnwindSafe for FallbackFace
impl Send for FallbackFace
impl Sync for FallbackFace
impl Unpin for FallbackFace
impl UnsafeUnpin for FallbackFace
impl UnwindSafe for FallbackFace
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