Enum mathml_core::FontVariant
source · #[repr(u8)]pub enum FontVariant {
Show 14 variants
Normal,
Italic,
Bold,
BoldItalic,
DoubleStruck,
BoldFraktur,
Script,
BoldScript,
Fraktur,
SansSerif,
BoldSansSerif,
SansSerifItalic,
SansSerifBoldItalic,
Monospace,
}
Expand description
Font variant for <mi>
,
used as mathvariant
attribute.
Variants§
Normal
Italic
Bold
BoldItalic
DoubleStruck
BoldFraktur
Script
BoldScript
Fraktur
SansSerif
BoldSansSerif
SansSerifItalic
SansSerifBoldItalic
Monospace
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<FontVariant> for FontVariant
impl PartialEq<FontVariant> for FontVariant
source§fn eq(&self, other: &FontVariant) -> bool
fn eq(&self, other: &FontVariant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FontVariant
impl Eq for FontVariant
impl StructuralEq for FontVariant
impl StructuralPartialEq for FontVariant
Auto Trait Implementations§
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