Trait bogobble::parser::ResTrait [−][src]
pub trait ResTrait<'a>: Sized { type Val; fn map_v<F: Fn(Self::Val) -> R, R>(self, f: F) -> ParseRes<'a, R>; fn map_str(self, start: &PIter<'a>) -> ParseRes<'a, &'a str>; fn then<P: Parser<'a>>(self, p: &P) -> ParseRes<'a, (Self::Val, P::Out)>; fn then_ig<P: Parser<'a>>(self, p: &P) -> ParseRes<'a, Self::Val>; fn ig_then<P: Parser<'a>>(self, p: &P) -> ParseRes<'a, P::Out>; fn map_string(self, start: &PIter<'a>) -> ParseRes<'a, String> { ... } }
Associated Types
Required methods
Provided methods
fn map_string(self, start: &PIter<'a>) -> ParseRes<'a, String>
[src]Implementors
type Val = V