Struct lrpar::parser::ParseError
source · pub struct ParseError<StorageT> { /* private fields */ }
Expand description
Records a single parse error.
Implementations
sourceimpl<StorageT: PrimInt + Unsigned> ParseError<StorageT>
impl<StorageT: PrimInt + Unsigned> ParseError<StorageT>
Trait Implementations
sourceimpl<StorageT: Clone> Clone for ParseError<StorageT>
impl<StorageT: Clone> Clone for ParseError<StorageT>
sourcefn clone(&self) -> ParseError<StorageT>
fn clone(&self) -> ParseError<StorageT>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<StorageT: Debug> Debug for ParseError<StorageT>
impl<StorageT: Debug> Debug for ParseError<StorageT>
sourceimpl<StorageT: Debug> Display for ParseError<StorageT>
impl<StorageT: Debug> Display for ParseError<StorageT>
sourceimpl<StorageT: Debug> Error for ParseError<StorageT>
impl<StorageT: Debug> Error for ParseError<StorageT>
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl<StorageT> From<ParseError<StorageT>> for LexParseError<StorageT>
impl<StorageT> From<ParseError<StorageT>> for LexParseError<StorageT>
sourcefn from(err: ParseError<StorageT>) -> LexParseError<StorageT>
fn from(err: ParseError<StorageT>) -> LexParseError<StorageT>
Converts to this type from the input type.
sourceimpl<StorageT: PartialEq> PartialEq<ParseError<StorageT>> for ParseError<StorageT>
impl<StorageT: PartialEq> PartialEq<ParseError<StorageT>> for ParseError<StorageT>
sourcefn eq(&self, other: &ParseError<StorageT>) -> bool
fn eq(&self, other: &ParseError<StorageT>) -> bool
impl<StorageT> StructuralPartialEq for ParseError<StorageT>
Auto Trait Implementations
impl<StorageT> RefUnwindSafe for ParseError<StorageT>where
StorageT: RefUnwindSafe,
impl<StorageT> Send for ParseError<StorageT>where
StorageT: Send,
impl<StorageT> Sync for ParseError<StorageT>where
StorageT: Sync,
impl<StorageT> Unpin for ParseError<StorageT>where
StorageT: Unpin,
impl<StorageT> UnwindSafe for ParseError<StorageT>where
StorageT: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more