pub enum SyntaxConfigError {
MdxHtmlConflict,
WikilinkTitleOrderConflict,
}Expand description
A contradictory SyntaxOptions configuration, reported by
SyntaxOptions::validate.
Variants§
MdxHtmlConflict
MDX JSX and raw HTML were both enabled; they both claim <.
WikilinkTitleOrderConflict
Both wikilink title orders (before- and after-pipe) were enabled.
Implementations§
Trait Implementations§
Source§impl Clone for SyntaxConfigError
impl Clone for SyntaxConfigError
Source§fn clone(&self) -> SyntaxConfigError
fn clone(&self) -> SyntaxConfigError
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 moreSource§impl Debug for SyntaxConfigError
impl Debug for SyntaxConfigError
impl Eq for SyntaxConfigError
Source§impl PartialEq for SyntaxConfigError
impl PartialEq for SyntaxConfigError
Source§fn eq(&self, other: &SyntaxConfigError) -> bool
fn eq(&self, other: &SyntaxConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyntaxConfigError
Auto Trait Implementations§
impl Freeze for SyntaxConfigError
impl RefUnwindSafe for SyntaxConfigError
impl Send for SyntaxConfigError
impl Sync for SyntaxConfigError
impl Unpin for SyntaxConfigError
impl UnsafeUnpin for SyntaxConfigError
impl UnwindSafe for SyntaxConfigError
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