pub enum LatexErrorKind {
Lexical,
Syntax,
Unsupported,
}Expand description
Category of TeX math-body failure.
Variants§
Lexical
A byte sequence is not a token in mdwright’s TeX math grammar.
Syntax
Tokens are well-formed, but the grammar rejects their order.
Unsupported
The input is valid TeX-like math, but mdwright cannot render or translate it yet.
Trait Implementations§
Source§impl Clone for LatexErrorKind
impl Clone for LatexErrorKind
Source§fn clone(&self) -> LatexErrorKind
fn clone(&self) -> LatexErrorKind
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 LatexErrorKind
impl Debug for LatexErrorKind
Source§impl PartialEq for LatexErrorKind
impl PartialEq for LatexErrorKind
Source§fn eq(&self, other: &LatexErrorKind) -> bool
fn eq(&self, other: &LatexErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LatexErrorKind
impl StructuralPartialEq for LatexErrorKind
Auto Trait Implementations§
impl Freeze for LatexErrorKind
impl RefUnwindSafe for LatexErrorKind
impl Send for LatexErrorKind
impl Sync for LatexErrorKind
impl Unpin for LatexErrorKind
impl UnsafeUnpin for LatexErrorKind
impl UnwindSafe for LatexErrorKind
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