pub trait Parseable<'a> {
    type Output;

    fn parse(
        src: &'a str,
        pos: &mut usize
    ) -> Result<Self::Output, Box<dyn Error + 'a>>; fn name() -> &'a str; fn skip(src: &'a str, pos: &mut usize) -> Option<Box<dyn Error + 'a>> { ... } fn get_parser() -> ParseableParser<'a, Self>
    where
        Self: Sized
, { ... } }

Required Associated Types§

Required Methods§

Provided Methods§

Implementors§