Struct Escaped
pub struct Escaped<F, G, E> { /* private fields */ }
Parser implementation for [escaped]
Trait Implementations
impl<I, Error, F, G> Parser<I> for Escaped<F, G, Error>
where
I: Input + Clone + Offset,
<I as Input>::Item: AsChar,
F: Parser<I, Error = Error>,
G: Parser<I, Error = Error>,
Error: ParseError<I>,
type Output = I;type Error = Error;fn process<OM: OutputMode>(&mut self, input: I) -> PResult<OM, I, Self::Output, Self::Error>
Auto Trait Implementations
impl<F, G, E> Freeze for Escaped<F, G, E>
where
F: Freeze,
G: Freeze,
PhantomData<E>: Freeze,
impl<F, G, E> RefUnwindSafe for Escaped<F, G, E>
where
F: RefUnwindSafe,
G: RefUnwindSafe,
PhantomData<E>: RefUnwindSafe,
impl<F, G, E> Send for Escaped<F, G, E>
where
F: Send,
G: Send,
PhantomData<E>: Send,
impl<F, G, E> Sync for Escaped<F, G, E>
where
F: Sync,
G: Sync,
PhantomData<E>: Sync,
impl<F, G, E> Unpin for Escaped<F, G, E>
where
F: Unpin,
G: Unpin,
PhantomData<E>: Unpin,
impl<F, G, E> UnsafeUnpin for Escaped<F, G, E>
where
F: UnsafeUnpin,
G: UnsafeUnpin,
PhantomData<E>: UnsafeUnpin,
impl<F, G, E> UnwindSafe for Escaped<F, G, E>
where
F: UnwindSafe,
G: UnwindSafe,
PhantomData<E>: UnwindSafe,
Blanket Implementations
impl<T> Any for Escaped<F, G, E>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Escaped<F, G, E>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Escaped<F, G, E>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for Escaped<F, G, E>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for Escaped<F, G, E>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Escaped<F, G, E>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Escaped<F, G, E>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>