Struct Fold

struct Fold<F, G, H, Range> { ... }

Parser implementation for the [fold] combinator

Implementations

impl<F, G, H, Range> Freeze for Fold<F, G, H, Range>

impl<F, G, H, Range> RefUnwindSafe for Fold<F, G, H, Range>

impl<F, G, H, Range> Send for Fold<F, G, H, Range>

impl<F, G, H, Range> Sync for Fold<F, G, H, Range>

impl<F, G, H, Range> Unpin for Fold<F, G, H, Range>

impl<F, G, H, Range> UnwindSafe for Fold<F, G, H, Range>

impl<I, F, G, H, Range, Res> Parser for Fold<F, G, H, Range>

fn process<OM: OutputMode>(self: &mut Self, input: I) -> crate::PResult<OM, I, <Self as >::Output, <Self as >::Error>

impl<T> Any for Fold<F, G, H, Range>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Fold<F, G, H, Range>

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

impl<T> BorrowMut for Fold<F, G, H, Range>

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

impl<T> From for Fold<F, G, H, Range>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Fold<F, G, H, Range>

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 Fold<F, G, H, Range>

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

impl<T, U> TryInto for Fold<F, G, H, Range>

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