pub struct ParseErrorEntry {
pub span: Option<InputSpan>,
pub message: String,
pub kind: ParseErrorKind,
pub source: Vec<ParseErrorEntry>,
}Fields§
§span: Option<InputSpan>The span in the input where the error occurred, if available.
message: StringThe error message.
kind: ParseErrorKindThe kind of parse error.
source: Vec<ParseErrorEntry>Trait Implementations§
Source§impl Clone for ParseErrorEntry
impl Clone for ParseErrorEntry
Source§fn clone(&self) -> ParseErrorEntry
fn clone(&self) -> ParseErrorEntry
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 ParseErrorEntry
impl Debug for ParseErrorEntry
Source§impl Display for ParseErrorEntry
impl Display for ParseErrorEntry
Source§impl From<SyntaxError> for ParseErrorEntry
impl From<SyntaxError> for ParseErrorEntry
Source§fn from(error: SyntaxError) -> Self
fn from(error: SyntaxError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParseErrorEntry
impl PartialEq for ParseErrorEntry
impl Eq for ParseErrorEntry
impl StructuralPartialEq for ParseErrorEntry
Auto Trait Implementations§
impl Freeze for ParseErrorEntry
impl RefUnwindSafe for ParseErrorEntry
impl Send for ParseErrorEntry
impl Sync for ParseErrorEntry
impl Unpin for ParseErrorEntry
impl UnwindSafe for ParseErrorEntry
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.