pub enum MathDelimiters {
Dollar,
Brackets,
BracketsInlineDollarBlock,
}Expand description
Math delimiter syntax for Markdown output.
Variants§
Dollar
Dollar sign syntax: $...$ for inline, $$...$$ for block.
Brackets
Backslash-paren syntax: \(...\) for inline, \[...\] for block.
BracketsInlineDollarBlock
Mixed syntax: \(...\) for inline, $$...$$ for block.
Used by platforms like SegmentFault that don’t support \[...\].
Implementations§
Trait Implementations§
Source§impl Clone for MathDelimiters
impl Clone for MathDelimiters
Source§fn clone(&self) -> MathDelimiters
fn clone(&self) -> MathDelimiters
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 MathDelimiters
impl Debug for MathDelimiters
Source§impl Default for MathDelimiters
impl Default for MathDelimiters
Source§fn default() -> MathDelimiters
fn default() -> MathDelimiters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MathDelimiters
impl<'de> Deserialize<'de> for MathDelimiters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MathDelimiters
impl PartialEq for MathDelimiters
Source§impl Serialize for MathDelimiters
impl Serialize for MathDelimiters
impl Copy for MathDelimiters
impl Eq for MathDelimiters
impl StructuralPartialEq for MathDelimiters
Auto Trait Implementations§
impl Freeze for MathDelimiters
impl RefUnwindSafe for MathDelimiters
impl Send for MathDelimiters
impl Sync for MathDelimiters
impl Unpin for MathDelimiters
impl UnsafeUnpin for MathDelimiters
impl UnwindSafe for MathDelimiters
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