pub enum MathScript {
Roman,
Script,
Fraktur,
DoubleStruck,
SansSerif,
Monospace,
}Expand description
Math script types (m:scr).
Controls the mathematical alphabet used for a run’s characters. Defined in ECMA-376 §22.1.2.87 (ST_Script).
Variants§
Roman
Serif (roman) alphabet — the default mathematical alphabet.
Script
Script (calligraphic) alphabet, e.g. ℒ, ℱ.
Fraktur
Fraktur (Gothic) alphabet, e.g. ℌ, ℨ.
DoubleStruck
Double-struck (blackboard bold) alphabet, e.g. ℝ, ℤ.
SansSerif
Sans-serif alphabet.
Monospace
Monospace (typewriter) alphabet.
Trait Implementations§
Source§impl Clone for MathScript
impl Clone for MathScript
Source§fn clone(&self) -> MathScript
fn clone(&self) -> MathScript
Returns a duplicate 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 MathScript
impl Debug for MathScript
Source§impl PartialEq for MathScript
impl PartialEq for MathScript
impl Copy for MathScript
impl Eq for MathScript
impl StructuralPartialEq for MathScript
Auto Trait Implementations§
impl Freeze for MathScript
impl RefUnwindSafe for MathScript
impl Send for MathScript
impl Sync for MathScript
impl Unpin for MathScript
impl UnsafeUnpin for MathScript
impl UnwindSafe for MathScript
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