pub enum FontRenderBackend {
DeterministicBitmap,
CoreText,
Win32Gdi,
FreeType,
WebCanvas,
}Expand description
Native OS font rasterization backend active at runtime.
Variants§
DeterministicBitmap
Built-in deterministic bitmap/stroke rasterizer guaranteeing bit-identical output everywhere.
CoreText
Apple CoreText + CoreGraphics native font engine (macOS, iOS, iPadOS).
Win32Gdi
Windows Win32 GDI GetGlyphOutlineW native font engine.
FreeType
FreeType runtime-loaded system font engine (Linux, Android).
WebCanvas
Browser offscreen Canvas 2D system font rasterizer (Web).
Trait Implementations§
Source§impl Clone for FontRenderBackend
impl Clone for FontRenderBackend
impl Copy for FontRenderBackend
Source§impl Debug for FontRenderBackend
impl Debug for FontRenderBackend
Source§impl Default for FontRenderBackend
impl Default for FontRenderBackend
impl Eq for FontRenderBackend
Source§impl Hash for FontRenderBackend
impl Hash for FontRenderBackend
Source§impl PartialEq for FontRenderBackend
impl PartialEq for FontRenderBackend
impl StructuralPartialEq for FontRenderBackend
Auto Trait Implementations§
impl Forget for FontRenderBackend
impl Freeze for FontRenderBackend
impl Move for FontRenderBackend
impl RefUnwindSafe for FontRenderBackend
impl Send for FontRenderBackend
impl Sync for FontRenderBackend
impl Unpin for FontRenderBackend
impl UnsafeUnpin for FontRenderBackend
impl UnwindSafe for FontRenderBackend
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