pub trait CRegularFactory<'a, Ctx: Context<'a>>: FactoryBase<'a> + ImplMode<Mode = RegularMode> {
    // Required methods
    fn crdeserialize(&self, inctx: impl InCtx<'a, Ctx>) -> ParseResult<'a, Self>;
    fn crextend(
        &self,
        mentionable: Self::Mtbl,
        tail: &[u8]
    ) -> ParseResult<'a, Self>;
}
Expand description

For auto-deriving RegularFactory from concrete implementations.

Required Methods§

source

fn crdeserialize(&self, inctx: impl InCtx<'a, Ctx>) -> ParseResult<'a, Self>

Concrete implementation of RegularFactory::rdeserialize.

source

fn crextend( &self, mentionable: Self::Mtbl, tail: &[u8] ) -> ParseResult<'a, Self>

Concrete implementation of RegularFactory::rextend.

Implementors§

source§

impl<'a, Ctx: Context<'a>> CRegularFactory<'a, Ctx> for TypelessFactory<'a, Ctx>