[][src]Struct kombi::combinators::Or

pub struct Or<Iter: Iterator + Clone, A: Parser<Iter>, B: Parser<Iter>> where
    Iter: Iterator + Clone,
    A: Parser<Iter>,
    B: Parser<Iter>, 
{ /* fields omitted */ }

Trait Implementations

impl<Iter, A, B> Parser<Iter> for Or<Iter, A, B> where
    Iter: Iterator + Clone,
    A: Parser<Iter>,
    B: Parser<Iter>, 
[src]

type Output = Either<A::Output, B::Output>

Auto Trait Implementations

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

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

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

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

impl<Iter, A, B> UnwindSafe for Or<Iter, A, B> where
    A: UnwindSafe,
    B: UnwindSafe,
    Iter: 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<T> From<T> for T[src]

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

impl<Iter, F, T> Parser<Iter> for F where
    F: Fn(Iter) -> Option<(Iter, T)>,
    Iter: Iterator + Clone
[src]

type Output = T

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.