FactoryModeParse docs

This commit is contained in:
AF 2023-07-30 15:23:14 +00:00
parent 7644bbc14c
commit 1423a03599

View File

@ -251,9 +251,12 @@ pub type ExtensionResultM<'a, Ctx, F> =
/// [`FactoryParse`] equivalent of [`ExtensionSource`].
pub type ExtensionSourceM<'a, Ctx, F> = ExtensionSourceP<F, Mtbl<'a, Ctx, F>>;
/// A more generic version of [`FactoryParse`].
pub trait FactoryModeParse<'a, Ctx: Context<'a>>: FactoryBase<'a, Ctx> + ParseMode {
/// A more generic version of [`FactoryParse::deserialize`].
fn mdeserialize<I: InCtx<'a, Ctx>>(&self, inctx: I) -> ModeResultM<'a, Ctx, Self, I>;
/// A more generic version of [`FactoryParse::extend`].
fn mextend(
&self,
mentionable: ExtensionSourceM<'a, Ctx, Self>,