Struct pear::ParseError[][src]

pub struct ParseError<I: Input> {
    pub parser: &'static str,
    pub expected: Expected<I>,
}

Fields

Methods

impl<I: Input> ParseError<I>
[src]

Trait Implementations

impl<I: Debug + Input> Debug for ParseError<I>
[src]

Formats the value using the given formatter. Read more

impl<I: Clone + Input> Clone for ParseError<I>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<I: PartialEq + Input> PartialEq for ParseError<I>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<I: Input> Display for ParseError<I>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<I> Send for ParseError<I> where
    <I as Input>::InSlice: Send,
    <I as Input>::Slice: Send,
    <I as Input>::Token: Send

impl<I> Sync for ParseError<I> where
    <I as Input>::InSlice: Sync,
    <I as Input>::Slice: Sync,
    <I as Input>::Token: Sync