Struct rusty_peg::util::Optional
[−]
[src]
pub struct Optional<P> {
// some fields omitted
}pub struct Optional<P> {
// some fields omitted
}impl<P: Debug> Debug for Optional<P>[src]impl<'input, G, P> Symbol<'input, G> for Optional<P> where P: Symbol<'input, G>[src]type Output = Option<P::Output>fn pretty_print(&self) -> Stringfn parse(&self, grammar: &mut G, start: Input<'input>) -> ParseResult<'input, Option<P::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>