pub enum Style {
Display,
Text,
Script,
ScriptScript,
}
Expand description
The style of the content.
This is analogous to the different “modes” in LaTeX
, such as display
, text
, etc., which
are set by commands like \displaystyle
, \textstyle
, etc.
Variants§
Display
Set by the \displaystyle
command.
Text
Set by the \textstyle
command.
Script
Set by the \scriptstyle
command.
ScriptScript
Set by the \scriptscriptstyle
command.
Trait Implementations§
impl Copy for Style
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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