pub struct MacFontAdapterConfig {
pub max_paragraph_bytes: usize,
pub allow_fallback_fonts: bool,
pub supports_color_emoji: bool,
pub raster_dimension_cap: u32,
pub raster_bytes_cap: usize,
}Expand description
Configuration options for the Mac font adapter.
Fields§
§max_paragraph_bytes: usizeMaximum byte size of text passed to the native shaper in a single call.
allow_fallback_fonts: boolWhether system fallback font substitution is enabled.
supports_color_emoji: boolWhether color emoji and bitmap rasterization is supported.
raster_dimension_cap: u32Maximum glyph raster dimension.
raster_bytes_cap: usizeMaximum glyph raster memory buffer size.
Trait Implementations§
Source§impl Clone for MacFontAdapterConfig
impl Clone for MacFontAdapterConfig
Source§impl Debug for MacFontAdapterConfig
impl Debug for MacFontAdapterConfig
Source§impl Default for MacFontAdapterConfig
impl Default for MacFontAdapterConfig
impl Eq for MacFontAdapterConfig
Source§impl PartialEq for MacFontAdapterConfig
impl PartialEq for MacFontAdapterConfig
impl StructuralPartialEq for MacFontAdapterConfig
Auto Trait Implementations§
impl Freeze for MacFontAdapterConfig
impl RefUnwindSafe for MacFontAdapterConfig
impl Send for MacFontAdapterConfig
impl Sync for MacFontAdapterConfig
impl Unpin for MacFontAdapterConfig
impl UnsafeUnpin for MacFontAdapterConfig
impl UnwindSafe for MacFontAdapterConfig
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