Struct parser_compose::ParserFailure
source · pub struct ParserFailure {
pub position: usize,
pub reason: Reason,
}
Expand description
A parsing error
Fields§
§position: usize
§reason: Reason
Trait Implementations§
source§impl Debug for ParserFailure
impl Debug for ParserFailure
source§impl Display for ParserFailure
impl Display for ParserFailure
source§impl Ord for ParserFailure
impl Ord for ParserFailure
source§impl PartialEq for ParserFailure
impl PartialEq for ParserFailure
source§fn eq(&self, other: &ParserFailure) -> bool
fn eq(&self, other: &ParserFailure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ParserFailure
impl PartialOrd for ParserFailure
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ParserFailure
impl StructuralEq for ParserFailure
impl StructuralPartialEq for ParserFailure
Auto Trait Implementations§
impl RefUnwindSafe for ParserFailure
impl Send for ParserFailure
impl Sync for ParserFailure
impl Unpin for ParserFailure
impl UnwindSafe for ParserFailure
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