pub enum MathDisplay {
Inline,
Block,
}
Expand description
Display mode for the LaTeX math equations.
Variants§
Inline
For inline equations, like those in $...$
in LaTeX.
Block
For block equations (or “display style” equations), like those in $$...$$
in LaTeX.
Trait Implementations§
Source§impl Clone for MathDisplay
impl Clone for MathDisplay
Source§fn clone(&self) -> MathDisplay
fn clone(&self) -> MathDisplay
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MathDisplay
impl Debug for MathDisplay
Source§impl PartialEq for MathDisplay
impl PartialEq for MathDisplay
impl Copy for MathDisplay
impl Eq for MathDisplay
impl StructuralPartialEq for MathDisplay
Auto Trait Implementations§
impl Freeze for MathDisplay
impl RefUnwindSafe for MathDisplay
impl Send for MathDisplay
impl Sync for MathDisplay
impl Unpin for MathDisplay
impl UnwindSafe for MathDisplay
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