Struct mathml::parsers::generic_mathml::ParseError
source · pub struct ParseError<'a> { /* private fields */ }
Implementations§
source§impl<'a> ParseError<'a>
impl<'a> ParseError<'a>
We implement the ParseError trait here to support the Span type.
Trait Implementations§
source§impl<'a> ContextError<LocatedSpan<&'a str>> for ParseError<'a>
impl<'a> ContextError<LocatedSpan<&'a str>> for ParseError<'a>
Implementing ContextError to support Span
source§impl<'a> Debug for ParseError<'a>
impl<'a> Debug for ParseError<'a>
source§impl<'a> ParseError<LocatedSpan<&'a str>> for ParseError<'a>
impl<'a> ParseError<LocatedSpan<&'a str>> for ParseError<'a>
Further trait implementation for Span
source§fn from_error_kind(input: Span<'a>, kind: ErrorKind) -> Self
fn from_error_kind(input: Span<'a>, kind: ErrorKind) -> Self
Creates an error from the input position and an ErrorKind
source§fn append(_input: Span<'a>, _kind: ErrorKind, other: Self) -> Self
fn append(_input: Span<'a>, _kind: ErrorKind, other: Self) -> Self
Combines an existing error with a new one created from the input
position and an ErrorKind. This is useful when backtracking
through a parse tree, accumulating error context on the way
source§impl<'a> PartialEq for ParseError<'a>
impl<'a> PartialEq for ParseError<'a>
source§fn eq(&self, other: &ParseError<'a>) -> bool
fn eq(&self, other: &ParseError<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Eq for ParseError<'a>
impl<'a> StructuralPartialEq for ParseError<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ParseError<'a>
impl<'a> Send for ParseError<'a>
impl<'a> Sync for ParseError<'a>
impl<'a> Unpin for ParseError<'a>
impl<'a> UnwindSafe for ParseError<'a>
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.