[][src]Struct combinedfun::combinators::Or

pub struct Or<A, B>(_, _);

Trait Implementations

impl<I, A, B> ParserImpl<I> for Or<A, B> where
    I: Clone,
    A: ParserImpl<I>,
    B: ParserImpl<I, Output = A::Output, Error = A::Error>,
    A::Error: AltError<I>, 
[src]

type Output = A::Output

The output type of the parser

type Error = A::Error

The error type of the parser

Auto Trait Implementations

impl<A, B> Sync for Or<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Send for Or<A, B> where
    A: Send,
    B: Send

impl<A, B> Unpin for Or<A, B> where
    A: Unpin,
    B: Unpin

impl<A, B> RefUnwindSafe for Or<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B> UnwindSafe for Or<A, B> where
    A: UnwindSafe,
    B: UnwindSafe

Blanket Implementations

impl<I, P, T> Tag<Span<I, P>> for T where
    I: Clone,
    P: Position<I>,
    T: Tag<I> + ?Sized
[src]

type Output = <T as Tag<I>>::Output

impl<F, I, O, E> ParserImpl<I> for F where
    F: Fn(I) -> Result<(I, O), E>, 
[src]

type Output = O

The output type of the parser

type Error = E

The error type of the parser

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.

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

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

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