pub enum MathStyle {
Plain,
Bold,
Italic,
BoldItalic,
}Expand description
Math text styles (m:sty).
Controls whether characters in a run are rendered plain, bold, italic, or bold-italic. Defined in ECMA-376 §22.1.2.90 (ST_Style).
Variants§
Plain
Plain (upright, not bold) — value "p".
Bold
Bold — value "b".
Italic
Italic — value "i".
BoldItalic
Bold italic — value "bi".
Trait Implementations§
impl Copy for MathStyle
impl Eq for MathStyle
impl StructuralPartialEq for MathStyle
Auto Trait Implementations§
impl Freeze for MathStyle
impl RefUnwindSafe for MathStyle
impl Send for MathStyle
impl Sync for MathStyle
impl Unpin for MathStyle
impl UnsafeUnpin for MathStyle
impl UnwindSafe for MathStyle
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