pub struct FaceSet { /* private fields */ }Expand description
The engine’s face roster, in FaceId order. The set mirrors the
bundled sovereign default (§11.1): CM regular/italic/bold/bold-italic,
CM Typewriter, a sans face, and the math-symbol coverage face.
Implementations§
Source§impl FaceSet
impl FaceSet
Sourcepub fn from_fonts(fonts: Vec<Font>) -> Self
pub fn from_fonts(fonts: Vec<Font>) -> Self
Build a face set from parsed fonts, in FaceId order: regular,
italic, bold, bold-italic, typewriter, sans, symbols.
Auto Trait Implementations§
impl Freeze for FaceSet
impl RefUnwindSafe for FaceSet
impl Send for FaceSet
impl Sync for FaceSet
impl Unpin for FaceSet
impl UnsafeUnpin for FaceSet
impl UnwindSafe for FaceSet
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