pub enum DisplayMode {
Inline,
Block,
}Expand description
Whether the formula is laid out for its own line or inline with text.
Maps to the display attribute on <math>: block → DisplayMode::Block,
anything else (including absent) → DisplayMode::Inline.
Variants§
Trait Implementations§
Source§impl Clone for DisplayMode
impl Clone for DisplayMode
impl Copy for DisplayMode
Source§impl Debug for DisplayMode
impl Debug for DisplayMode
Source§impl Default for DisplayMode
impl Default for DisplayMode
impl Eq for DisplayMode
Source§impl PartialEq for DisplayMode
impl PartialEq for DisplayMode
impl StructuralPartialEq for DisplayMode
Auto Trait Implementations§
impl Freeze for DisplayMode
impl RefUnwindSafe for DisplayMode
impl Send for DisplayMode
impl Sync for DisplayMode
impl Unpin for DisplayMode
impl UnsafeUnpin for DisplayMode
impl UnwindSafe for DisplayMode
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