Struct pear::ParseError [−][src]
Fields
parser: &'static str
expected: Expected<I>
Methods
impl<I: Input> ParseError<I>
[src]
impl<I: Input> ParseError<I>
pub fn custom<T, R>(parser: &'static str, message: T) -> ParseResult<I, R> where
T: Into<Cow<'static, str>>,
[src]
pub fn custom<T, R>(parser: &'static str, message: T) -> ParseResult<I, R> where
T: Into<Cow<'static, str>>,
Trait Implementations
impl<I: Debug + Input> Debug for ParseError<I>
[src]
impl<I: Debug + Input> Debug for ParseError<I>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<I: Clone + Input> Clone for ParseError<I>
[src]
impl<I: Clone + Input> Clone for ParseError<I>
fn clone(&self) -> ParseError<I>
[src]
fn clone(&self) -> ParseError<I>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<I: PartialEq + Input> PartialEq for ParseError<I>
[src]
impl<I: PartialEq + Input> PartialEq for ParseError<I>
fn eq(&self, other: &ParseError<I>) -> bool
[src]
fn eq(&self, other: &ParseError<I>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ParseError<I>) -> bool
[src]
fn ne(&self, other: &ParseError<I>) -> bool
This method tests for !=
.
impl<I: Input> Display for ParseError<I>
[src]
impl<I: Input> Display for ParseError<I>