Struct rusty_peg::util::Join [] [src]

pub struct Join<NT1, P2> {
    pub first: NT1,
    pub second: P2,
}

Fields

first: NT1 second: P2

Trait Implementations

impl<NT1: Debug, P2: Debug> Debug for Join<NT1, P2>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'input, NT1, P2, G> Symbol<'input, G> for Join<NT1, P2> where NT1: Symbol<'input, G>, P2: Symbol<'input, G>
[src]

type Output = (NT1::Output, P2::Output)

fn pretty_print(&self) -> String

fn parse(&self, grammar: &mut G, start: Input<'input>) -> ParseResult<'input, (NT1::Output, P2::Output)>

fn parse_complete(&self, grammar: &mut G, text: &'input str) -> Result<Self::Output, Error<'input>>

fn parse_prefix(&self, grammar: &mut G, text: &'input str) -> ParseResult<'input, Self::Output>