Struct Context
struct Context<F, I, O, E, C> { ... }
where
F: Parser<I, O, E>,
I: Stream,
E: AddContext<I, C> + ParserError<I>,
C: Clone + crate::lib::std::fmt::Debug
Parser implementation for Parser::context
Implementations
impl<F, I, O, E, C> Freeze for Context<F, I, O, E, C>
impl<F, I, O, E, C> Parser for Context<F, I, O, E, C>
fn parse_next(self: &mut Self, i: &mut I) -> Result<O, E>
impl<F, I, O, E, C> RefUnwindSafe for Context<F, I, O, E, C>
impl<F, I, O, E, C> Send for Context<F, I, O, E, C>
impl<F, I, O, E, C> Sync for Context<F, I, O, E, C>
impl<F, I, O, E, C> Unpin for Context<F, I, O, E, C>
impl<F, I, O, E, C> UnsafeUnpin for Context<F, I, O, E, C>
impl<F, I, O, E, C> UnwindSafe for Context<F, I, O, E, C>
impl<I, O, E, P> ModalParser for Context<F, I, O, E, C>
impl<T> Any for Context<F, I, O, E, C>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Context<F, I, O, E, C>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Context<F, I, O, E, C>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Context<F, I, O, E, C>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for Context<F, I, O, E, C>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Context<F, I, O, E, C>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Context<F, I, O, E, C>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>