#[non_exhaustive]pub enum MathMode {
Inline,
Display,
}Expand description
Math mode a fragment is typeset in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Inline
Text style math, as between $ signs.
Display
Display style math, set in a box of its natural width rather than a display.
Trait Implementations§
impl Copy for MathMode
impl Eq for MathMode
impl StructuralPartialEq for MathMode
Auto Trait Implementations§
impl Freeze for MathMode
impl RefUnwindSafe for MathMode
impl Send for MathMode
impl Sync for MathMode
impl Unpin for MathMode
impl UnsafeUnpin for MathMode
impl UnwindSafe for MathMode
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