pub enum TextStyle {
Rm,
Bf,
It,
Sf,
Tt,
Bb,
Cal,
Frak,
Scr,
Boldsymbol,
Pmb,
Text,
}Expand description
Font / text style for a run of characters.
Variants§
Rm
\mathrm
Bf
\mathbf
It
\mathit
Sf
\mathsf
Tt
\mathtt
Bb
\mathbb
Cal
\mathcal
Frak
\mathfrak
Scr
\mathscr
Boldsymbol
\boldsymbol
Pmb
\pmb
Text
\text
Trait Implementations§
impl Copy for TextStyle
impl Eq for TextStyle
impl StructuralPartialEq for TextStyle
Auto Trait Implementations§
impl Freeze for TextStyle
impl RefUnwindSafe for TextStyle
impl Send for TextStyle
impl Sync for TextStyle
impl Unpin for TextStyle
impl UnsafeUnpin for TextStyle
impl UnwindSafe for TextStyle
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