Struct munch::Or [] [src]

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

Trait Implementations

impl<A: Copy, B: Copy> Copy for Or<A, B>
[src]

impl<A: Clone, B: Clone> Clone for Or<A, B>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A: Debug, B: Debug> Debug for Or<A, B>
[src]

Formats the value using the given formatter.

impl<A: PartialEq, B: PartialEq> PartialEq for Or<A, B>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<A, B, Input> Parser<Input> for Or<A, B> where A: Parser<Input>,
        B: Parser<Input, Output=A::Output, Error=A::Error>,
        Input: Copy
[src]