Struct yew_router_route_parser::PrettyParseError [−][src]
pub struct PrettyParseError<'a> { pub error: ParseError, pub input: &'a str, pub remaining: &'a str, }
Expand description
Parser error that can print itself in a human-readable format.
Fields
error: ParseError
Expand description
Inner error
input: &'a str
Expand description
Input to the parser
remaining: &'a str
Expand description
Remaining input after partially tokenizing
Trait Implementations
impl<'a> Clone for PrettyParseError<'a>
[src]
impl<'a> Clone for PrettyParseError<'a>
[src]fn clone(&self) -> PrettyParseError<'a>
[src]
fn clone(&self) -> PrettyParseError<'a>
[src]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<'a> Debug for PrettyParseError<'a>
[src]
impl<'a> Debug for PrettyParseError<'a>
[src]impl<'a> PartialEq<PrettyParseError<'a>> for PrettyParseError<'a>
[src]
impl<'a> PartialEq<PrettyParseError<'a>> for PrettyParseError<'a>
[src]fn eq(&self, other: &PrettyParseError<'a>) -> bool
[src]
fn eq(&self, other: &PrettyParseError<'a>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &PrettyParseError<'a>) -> bool
[src]
fn ne(&self, other: &PrettyParseError<'a>) -> bool
[src]This method tests for !=
.
impl<'a> StructuralPartialEq for PrettyParseError<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for PrettyParseError<'a>
impl<'a> Send for PrettyParseError<'a>
impl<'a> Sync for PrettyParseError<'a>
impl<'a> Unpin for PrettyParseError<'a>
impl<'a> UnwindSafe for PrettyParseError<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more