pub enum MathInlineKind {
Dollar {
dollars: u8,
},
Code,
}Expand description
Which syntax delimited an inline MathInline span.
Variants§
Dollar
Dollar-fenced inline math ($…$, $$…$$, …); dollars is the fence
length (>=1). Dollar math always renders inline, while a 2-dollar fence
is conventionally treated as display elsewhere in the ecosystem.
Code
Math-code span: $…$.
Trait Implementations§
Source§impl Clone for MathInlineKind
impl Clone for MathInlineKind
Source§fn clone(&self) -> MathInlineKind
fn clone(&self) -> MathInlineKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MathInlineKind
Source§impl Debug for MathInlineKind
impl Debug for MathInlineKind
impl Eq for MathInlineKind
Source§impl PartialEq for MathInlineKind
impl PartialEq for MathInlineKind
Source§fn eq(&self, other: &MathInlineKind) -> bool
fn eq(&self, other: &MathInlineKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MathInlineKind
Auto Trait Implementations§
impl Freeze for MathInlineKind
impl RefUnwindSafe for MathInlineKind
impl Send for MathInlineKind
impl Sync for MathInlineKind
impl Unpin for MathInlineKind
impl UnsafeUnpin for MathInlineKind
impl UnwindSafe for MathInlineKind
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