[][src]Struct combine::parser::repeat::Count

pub struct Count<F, Input, P> where
    <Input as StreamOnce>::Error: ParseError<<Input as StreamOnce>::Token, <Input as StreamOnce>::Range, <Input as StreamOnce>::Position>,
    Input: Stream,
    Input: Stream,
    P: Parser<Input>,
    F: Extend<P::Output> + Default
{ pub count: usize, pub parser: P, // some fields omitted }

Fields

count: usizeparser: P

Trait Implementations

impl<F, Input, P> Parser<Input> for Count<F, Input, P> where
    <Input as StreamOnce>::Error: ParseError<<Input as StreamOnce>::Token, <Input as StreamOnce>::Range, <Input as StreamOnce>::Position>,
    Input: Stream,
    Input: Stream,
    P: Parser<Input>,
    F: Extend<P::Output> + Default
[src]

type Output = F

The type which is returned if the parser is successful.

type PartialState = ()

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

Auto Trait Implementations

impl<F, Input, P> RefUnwindSafe for Count<F, Input, P> where
    P: RefUnwindSafe

impl<F, Input, P> Send for Count<F, Input, P> where
    P: Send

impl<F, Input, P> Sync for Count<F, Input, P> where
    P: Sync

impl<F, Input, P> Unpin for Count<F, Input, P> where
    P: Unpin

impl<F, Input, P> UnwindSafe for Count<F, Input, P> where
    P: 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.