[][src]Struct combine::parser::range::TakeFn

pub struct TakeFn<F, Input> { /* fields omitted */ }

Trait Implementations

impl<Input, F, R> Parser<Input> for TakeFn<F, Input> where
    F: FnMut(Input::Range) -> R,
    R: Into<TakeRange>,
    Input: RangeStream,
    Input::Range: Range
[src]

type Output = Input::Range

The type which is returned if the parser is successful.

type PartialState = usize

Determines the state necessary to resume parsing after more input is supplied. Read more

Auto Trait Implementations

impl<F, Input> RefUnwindSafe for TakeFn<F, Input> where
    F: RefUnwindSafe

impl<F, Input> Send for TakeFn<F, Input> where
    F: Send

impl<F, Input> Sync for TakeFn<F, Input> where
    F: Sync

impl<F, Input> Unpin for TakeFn<F, Input> where
    F: Unpin

impl<F, Input> UnwindSafe for TakeFn<F, Input> where
    F: UnwindSafe

Blanket Implementations

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

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

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

impl<Input, P> EasyParser<Input> for P where
    Input: Stream,
    P: Parser<Stream<Input>> + ?Sized,
    <Input as StreamOnce>::Token: PartialEq<<Input as StreamOnce>::Token>,
    <Input as StreamOnce>::Range: PartialEq<<Input as StreamOnce>::Range>, 
[src]

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

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

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

type Error = Infallible

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.