Struct AndThen

struct AndThen<F, G, I, O, O2, E> { ... }
where
    F: Parser<I, O, E>,
    G: Parser<O, O2, E>,
    O: StreamIsPartial,
    I: Stream

Parser implementation for Parser::and_then

Implementations

impl<F, G, I, O, O2, E> Freeze for AndThen<F, G, I, O, O2, E>

impl<F, G, I, O, O2, E> Parser for AndThen<F, G, I, O, O2, E>

fn parse_next(self: &mut Self, i: &mut I) -> Result<O2, E>

impl<F, G, I, O, O2, E> RefUnwindSafe for AndThen<F, G, I, O, O2, E>

impl<F, G, I, O, O2, E> Send for AndThen<F, G, I, O, O2, E>

impl<F, G, I, O, O2, E> Sync for AndThen<F, G, I, O, O2, E>

impl<F, G, I, O, O2, E> Unpin for AndThen<F, G, I, O, O2, E>

impl<F, G, I, O, O2, E> UnsafeUnpin for AndThen<F, G, I, O, O2, E>

impl<F, G, I, O, O2, E> UnwindSafe for AndThen<F, G, I, O, O2, E>

impl<I, O, E, P> ModalParser for AndThen<F, G, I, O, O2, E>

impl<T> Any for AndThen<F, G, I, O, O2, E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for AndThen<F, G, I, O, O2, E>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for AndThen<F, G, I, O, O2, E>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for AndThen<F, G, I, O, O2, E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for AndThen<F, G, I, O, O2, E>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for AndThen<F, G, I, O, O2, E>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for AndThen<F, G, I, O, O2, E>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>