Struct WithSpan

struct WithSpan<F, I, O, E> { ... }
where
    F: Parser<I, O, E>,
    I: Stream + Location

Parser implementation for Parser::with_span

Implementations

impl<F, I, O, E> Freeze for WithSpan<F, I, O, E>

impl<F, I, O, E> Parser for WithSpan<F, I, O, E>

fn parse_next(self: &mut Self, input: &mut I) -> Result<(O, Range<usize>), E>

impl<F, I, O, E> RefUnwindSafe for WithSpan<F, I, O, E>

impl<F, I, O, E> Send for WithSpan<F, I, O, E>

impl<F, I, O, E> Sync for WithSpan<F, I, O, E>

impl<F, I, O, E> Unpin for WithSpan<F, I, O, E>

impl<F, I, O, E> UnsafeUnpin for WithSpan<F, I, O, E>

impl<F, I, O, E> UnwindSafe for WithSpan<F, I, O, E>

impl<I, O, E, P> ModalParser for WithSpan<F, I, O, E>

impl<T> Any for WithSpan<F, I, O, E>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for WithSpan<F, I, O, E>

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

impl<T> BorrowMut for WithSpan<F, I, O, E>

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

impl<T> From for WithSpan<F, I, O, E>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for WithSpan<F, I, O, 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 WithSpan<F, I, O, E>

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

impl<T, U> TryInto for WithSpan<F, I, O, E>

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