pub enum MathStyle {
Display,
Text,
Script,
ScriptScript,
}Expand description
Math style levels.
Variants§
Implementations§
Source§impl MathStyle
impl MathStyle
Sourcepub fn script_step(self) -> Self
pub fn script_step(self) -> Self
Step to script size (for sub/superscripts).
Sourcepub fn size_percent(self) -> &'static str
pub fn size_percent(self) -> &'static str
CSS-style size percentage.
Trait Implementations§
impl Copy 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