pub struct FontSemantics {
pub unicode_fonts: bool,
pub shaped_text: bool,
pub unicode_math_fonts: bool,
pub host_native_fonts: bool,
}Expand description
Font loading and shaping capabilities for a profile.
Fields§
§unicode_fonts: boolWhether Unicode-indexed fonts are supported.
shaped_text: boolWhether shaped text output via a text shaper is enabled.
unicode_math_fonts: boolWhether Unicode math fonts are supported.
host_native_fonts: boolEngine may call host platform font assembly hooks.
Implementations§
Source§impl FontSemantics
impl FontSemantics
Trait Implementations§
Source§impl Clone for FontSemantics
impl Clone for FontSemantics
Source§fn clone(&self) -> FontSemantics
fn clone(&self) -> FontSemantics
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 FontSemantics
Source§impl Debug for FontSemantics
impl Debug for FontSemantics
Source§impl Default for FontSemantics
impl Default for FontSemantics
Source§fn default() -> FontSemantics
fn default() -> FontSemantics
Returns the “default value” for a type. Read more
impl Eq for FontSemantics
Source§impl PartialEq for FontSemantics
impl PartialEq for FontSemantics
Source§fn eq(&self, other: &FontSemantics) -> bool
fn eq(&self, other: &FontSemantics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FontSemantics
Auto Trait Implementations§
impl Freeze for FontSemantics
impl RefUnwindSafe for FontSemantics
impl Send for FontSemantics
impl Sync for FontSemantics
impl Unpin for FontSemantics
impl UnsafeUnpin for FontSemantics
impl UnwindSafe for FontSemantics
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