[][src]Struct parze::parse_fn::RcParseFn

pub struct RcParseFn<'a, T: Clone, O, E: ParseError<T>> { /* fields omitted */ }

Methods

impl<'a, T: Clone, O, E: ParseError<T>> RcParseFn<'a, T, O, E>[src]

pub fn new(
    f: impl Fn(&mut Enumerate<Cloned<Iter<'a, T>>>) -> Result<(MayFail<E>, O), Fail<E>> + 'a
) -> Self
[src]

Trait Implementations

impl<'_, T: Clone, O, E: ParseError<T>> ParseFn<T, O, E> for RcParseFn<'_, T, O, E>[src]

impl<'_, T: Clone, O, E: ParseError<T>> Clone for RcParseFn<'_, T, O, E>[src]

Auto Trait Implementations

impl<'a, T, O, E> !Send for RcParseFn<'a, T, O, E>

impl<'a, T, O, E> !Sync for RcParseFn<'a, T, O, E>

impl<'a, T, O, E> Unpin for RcParseFn<'a, T, O, E>

impl<'a, T, O, E> !UnwindSafe for RcParseFn<'a, T, O, E>

impl<'a, T, O, E> !RefUnwindSafe for RcParseFn<'a, T, O, E>

Blanket Implementations

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]