Struct Void

struct Void<F, I, O, E> { ... }
where
    F: Parser<I, O, E>

Parser implementation for Parser::void

Implementations

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

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

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

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

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

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

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

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

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

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

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

fn type_id(self: &Self) -> TypeId

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

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

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

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

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

fn from(t: T) -> T

Returns the argument unchanged.

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

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

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

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