Trait radn::rcore::CRegularFactory
source · 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§
sourcefn crdeserialize(&self, inctx: impl InCtx<'a, Ctx>) -> ParseResult<'a, Self>
fn crdeserialize(&self, inctx: impl InCtx<'a, Ctx>) -> ParseResult<'a, Self>
Concrete implementation of RegularFactory::rdeserialize.
sourcefn crextend(
&self,
mentionable: Self::Mtbl,
tail: &[u8]
) -> ParseResult<'a, Self>
fn crextend( &self, mentionable: Self::Mtbl, tail: &[u8] ) -> ParseResult<'a, Self>
Concrete implementation of RegularFactory::rextend.