#[repr(u8)]pub enum FontVariant {
Show 14 variants
Normal = 0,
Italic = 1,
Bold = 2,
BoldItalic = 3,
DoubleStruck = 4,
BoldFraktur = 5,
Script = 6,
BoldScript = 7,
Fraktur = 8,
SansSerif = 9,
BoldSansSerif = 10,
SansSerifItalic = 11,
SansSerifBoldItalic = 12,
Monospace = 13,
}
Expand description
Font variant for <mi>
,
used as mathvariant
attribute.
Variants§
Normal = 0
Italic = 1
Bold = 2
BoldItalic = 3
DoubleStruck = 4
BoldFraktur = 5
Script = 6
BoldScript = 7
Fraktur = 8
SansSerif = 9
BoldSansSerif = 10
SansSerifItalic = 11
SansSerifBoldItalic = 12
Monospace = 13
Trait Implementations§
Source§impl Clone for FontVariant
impl Clone for FontVariant
Source§fn clone(&self) -> FontVariant
fn clone(&self) -> FontVariant
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FontVariant
impl Debug for FontVariant
Source§impl Display for FontVariant
impl Display for FontVariant
Source§impl PartialEq for FontVariant
impl PartialEq for FontVariant
impl Copy for FontVariant
impl Eq for FontVariant
impl StructuralPartialEq for FontVariant
Auto Trait Implementations§
impl Freeze for FontVariant
impl RefUnwindSafe for FontVariant
impl Send for FontVariant
impl Sync for FontVariant
impl Unpin for FontVariant
impl UnwindSafe for FontVariant
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