pub struct SystemFonts { /* private fields */ }Expand description
the system’s fonts (text::fontdb), searched once: for the 14 standard fonts their
metric-compatible families (URW’s Nimbus, Liberation, the Windows fonts), others by name and
flags; a font with a language (FontQuery::lang) by its own name, else the system’s serif or
sans-serif font for the language (text::fontconf: fontconfig’s rules on Linux, Noto Sans CJK
JP for ja, say; the built-in ones elsewhere)
Implementations§
Source§impl SystemFonts
impl SystemFonts
pub fn new() -> SystemFonts
Trait Implementations§
Source§impl Default for SystemFonts
impl Default for SystemFonts
Source§fn default() -> SystemFonts
fn default() -> SystemFonts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for SystemFonts
impl !RefUnwindSafe for SystemFonts
impl !Sync for SystemFonts
impl Forget for SystemFonts
impl Move for SystemFonts
impl Send for SystemFonts
impl Unpin for SystemFonts
impl UnsafeUnpin for SystemFontswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<FileRec>: UnsafeUnpin,
PhantomData<FaceRec>: UnsafeUnpin,
PhantomData<FdFace>: UnsafeUnpin,
PhantomData<Family>: UnsafeUnpin,
PhantomData<(usize, u32, i32)>: UnsafeUnpin,
PhantomData<(usize, Option<FdVar>)>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<(u64, u32)>: UnsafeUnpin,
PhantomData<(u64, u64)>: UnsafeUnpin,
PhantomData<Rule>: UnsafeUnpin,
PhantomData<SysFamily>: UnsafeUnpin,
PhantomData<(String, u32, Option<String>)>: UnsafeUnpin,
impl UnwindSafe for SystemFontswhere
RawVecInner: UnwindSafe,
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