[][src]Struct combine::parser::combinator::Opaque

pub struct Opaque<F, Input, O, S>(_, _);

Trait Implementations

impl<F: Clone, Input: Clone, O: Clone, S: Clone> Clone for Opaque<F, Input, O, S>[src]

impl<F: Copy, Input: Copy, O: Copy, S: Copy> Copy for Opaque<F, Input, O, S>[src]

impl<Input, F, O, S> Parser<Input> for Opaque<F, Input, O, S> where
    Input: Stream,
    S: Default,
    F: FnMut(&mut dyn FnMut(&mut dyn Parser<Input, Output = O, PartialState = S>)), 
[src]

type Output = O

The type which is returned if the parser is successful.

type PartialState = S

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

Auto Trait Implementations

impl<F, Input, O, S> RefUnwindSafe for Opaque<F, Input, O, S> where
    F: RefUnwindSafe
[src]

impl<F, Input, O, S> Send for Opaque<F, Input, O, S> where
    F: Send
[src]

impl<F, Input, O, S> Sync for Opaque<F, Input, O, S> where
    F: Sync
[src]

impl<F, Input, O, S> Unpin for Opaque<F, Input, O, S> where
    F: Unpin
[src]

impl<F, Input, O, S> UnwindSafe for Opaque<F, Input, O, S> where
    F: UnwindSafe
[src]

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<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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 = 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.