pub struct LatexError<'source>(pub usize, pub LatexErrKind<'source>);
Expand description
Represents an error that occurred during LaTeX parsing or rendering.
Tuple Fields§
§0: usize
§1: LatexErrKind<'source>
Trait Implementations§
Source§impl<'source> Debug for LatexError<'source>
impl<'source> Debug for LatexError<'source>
Source§impl Display for LatexError<'_>
impl Display for LatexError<'_>
Source§impl Error for LatexError<'_>
impl Error for LatexError<'_>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<'source> Freeze for LatexError<'source>
impl<'source> RefUnwindSafe for LatexError<'source>
impl<'source> Send for LatexError<'source>
impl<'source> Sync for LatexError<'source>
impl<'source> Unpin for LatexError<'source>
impl<'source> UnwindSafe for LatexError<'source>
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