pub enum DisplayMode {
Inline,
Block,
}
Expand description
Variants§
Inline
The math is rendered inline.
The equation is displayed inline within a sentence or paragraph, and elements such as
\int
and \sum
are minimized to fit within the line.
This is the default value.
Block
The math is rendered in display/block mode (displaystyle
in LaTeX).
The equation is centered on its own line
and elements such as\int
and \sum
are displayed bigger.
Trait Implementations§
Source§impl Clone for DisplayMode
impl Clone for DisplayMode
Source§fn clone(&self) -> DisplayMode
fn clone(&self) -> DisplayMode
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 DisplayMode
impl Debug for DisplayMode
Source§impl Default for DisplayMode
impl Default for DisplayMode
Source§fn default() -> DisplayMode
fn default() -> DisplayMode
Returns the “default value” for a type. Read more
Source§impl Display for DisplayMode
impl Display for DisplayMode
Source§impl PartialEq for DisplayMode
impl PartialEq for DisplayMode
impl Copy for DisplayMode
impl Eq 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 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