Trait oni_comb_parser_rs::prelude::OffsetParser

source ·
pub trait OffsetParser<'a>: OperatorParser<'a> {
    // Required methods
    fn last_offset(self) -> Self::P<'a, Self::Input, usize>
       where Self::Output: Debug + 'a;
    fn next_offset(self) -> Self::P<'a, Self::Input, usize>
       where Self::Output: Debug + 'a;
}

Required Methods§

source

fn last_offset(self) -> Self::P<'a, Self::Input, usize>
where Self::Output: Debug + 'a,

source

fn next_offset(self) -> Self::P<'a, Self::Input, usize>
where Self::Output: Debug + 'a,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, I, A> OffsetParser<'a> for Parser<'a, I, A>