[−][src]Struct pear::error::ParseError
Fields
error: E
info: ErrorInfo<C>
stack: Vec<ErrorInfo<C>>
Implementations
impl<C, E> ParseError<C, E>
[src]
pub fn new(parser: ParserInfo, error: E, context: C) -> ParseError<C, E>
[src]
pub fn push_info(&mut self, parser: ParserInfo, context: C)
[src]
pub fn into<E2: From<E>>(self) -> ParseError<C, E2>
[src]
Trait Implementations
impl<C: Clone, E: Clone> Clone for ParseError<C, E>
[src]
fn clone(&self) -> ParseError<C, E>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C: Debug, E: Debug> Debug for ParseError<C, E>
[src]
impl<C: Show, E: Display> Display for ParseError<C, E>
[src]
Auto Trait Implementations
impl<C, E> RefUnwindSafe for ParseError<C, E> where
C: RefUnwindSafe,
E: RefUnwindSafe,
C: RefUnwindSafe,
E: RefUnwindSafe,
impl<C, E> Send for ParseError<C, E> where
C: Send,
E: Send,
C: Send,
E: Send,
impl<C, E> Sync for ParseError<C, E> where
C: Sync,
E: Sync,
C: Sync,
E: Sync,
impl<C, E> Unpin for ParseError<C, E> where
C: Unpin,
E: Unpin,
C: Unpin,
E: Unpin,
impl<C, E> UnwindSafe for ParseError<C, E> where
C: UnwindSafe,
E: UnwindSafe,
C: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,