pub enum Font {
Show 14 variants
BoldScript,
BoldItalic,
Bold,
Fraktur,
Script,
Monospace,
SansSerif,
DoubleStruck,
Italic,
BoldFraktur,
SansSerifBoldItalic,
SansSerifItalic,
BoldSansSerif,
UpRight,
}
Expand description
Available font styles from LaTeX.
Variants§
BoldScript
The bold and calligraphic font-face.
BoldItalic
The bold and italic font-face.
Bold
The bold font-face.
Fraktur
The fraktur font-face.
Script
The calligraphic font-face.
Monospace
The monospace font-face.
SansSerif
The sans-serif font-face.
DoubleStruck
The double-struck font-face.
Italic
The italic font-face.
BoldFraktur
The bold fraktur font-face.
SansSerifBoldItalic
The bold sans-serif font-face.
SansSerifItalic
The sans-serif italic font-face.
BoldSansSerif
The sans-serif bold font-face.
UpRight
The normal font-face.
Trait Implementations§
impl Copy for Font
impl Eq for Font
impl StructuralPartialEq for Font
Auto Trait Implementations§
impl Freeze for Font
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
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